TGfxStroke Class Reference

class TGfxStroke

Implementation of a Stroke.

Gfx2D.lib
Since
1.0

Constructor & Destructor Documentation

TGfxStroke()

TGfxStroke ( )

Constructor. Default values for width, join, cap and miter-limit.

Since
1.0

TGfxStroke(TFloatFixPt)

TGfxStroke ( TFloatFixPt aStrokeWidth )

Constructor.

Since
1.0

Parameters

TFloatFixPt aStrokeWidth : width of stroke.

TGfxStroke(TFloatFixPt, TGfxJoinType, TGfxCapType, TFloatFixPt &)

TGfxStroke ( TFloatFixPt aStrokeWidth,
TGfxJoinType aJoin,
TGfxCapType aCap,
TFloatFixPt & aMiterLimit
)

Constructor.

Since
1.0

Parameters

TFloatFixPt aStrokeWidth : width of stroke.
TGfxJoinType aJoin : join type
TGfxCapType aCap : cap type
TFloatFixPt & aMiterLimit : miter-limit value.

Member Functions Documentation

SetCapType(TGfxCapType)

void SetCapType ( TGfxCapType aCap )

Parameters

TGfxCapType aCap

SetJoinType(TGfxJoinType)

void SetJoinType ( TGfxJoinType aJoin )

Parameters

TGfxJoinType aJoin

SetMiterLimit(TFloatFixPt)

void SetMiterLimit ( TFloatFixPt aMiterLimit )

Parameters

TFloatFixPt aMiterLimit

SetStrokeWidth(TFloatFixPt)

void SetStrokeWidth ( TFloatFixPt aWidth )

Set the stroke width

Since
1.0

Parameters

TFloatFixPt aWidth : width of stroke.

SetVars(TFloatFixPt, TGfxJoinType, TGfxCapType, const TFloatFixPt &)

void SetVars ( TFloatFixPt aStrokeWidth,
TGfxJoinType aJoin,
TGfxCapType aCap,
const TFloatFixPt & aMiterLimit
) [protected]

Get the stroke width, join type, cap type and miter-limit.

Since
1.0

Parameters

TFloatFixPt aStrokeWidth : width of stroke.
TGfxJoinType aJoin : join type
TGfxCapType aCap : cap type
const TFloatFixPt & aMiterLimit : miter-limit value.

StrokeCap()

TGfxCapType StrokeCap ( )

StrokeJoin()

TGfxJoinType StrokeJoin ( )

StrokeMiterLimit()

TFloatFixPt StrokeMiterLimit ( )

StrokeWidth()

TFloatFixPt StrokeWidth ( )

Get the stroke width

Since
1.0

Member Data Documentation

TGfxCapType iCap

TGfxCapType iCap [protected]

TGfxJoinType iJoin

TGfxJoinType iJoin [protected]

TFloatFixPt iMiterLimit

TFloatFixPt iMiterLimit [protected]

TFloatFixPt iStrokeWidth

TFloatFixPt iStrokeWidth [protected]