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(TFloatFixPtaStrokeWidth)

Constructor.

Since
1.0

Parameters

TFloatFixPt aStrokeWidth: width of stroke.

TGfxStroke(TFloatFixPt, TGfxJoinType, TGfxCapType, TFloatFixPt &)

TGfxStroke(TFloatFixPtaStrokeWidth,
TGfxJoinTypeaJoin,
TGfxCapTypeaCap,
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)

voidSetCapType(TGfxCapTypeaCap)

Parameters

TGfxCapType aCap

SetJoinType(TGfxJoinType)

voidSetJoinType(TGfxJoinTypeaJoin)

Parameters

TGfxJoinType aJoin

SetMiterLimit(TFloatFixPt)

voidSetMiterLimit(TFloatFixPtaMiterLimit)

Parameters

TFloatFixPt aMiterLimit

SetStrokeWidth(TFloatFixPt)

voidSetStrokeWidth(TFloatFixPtaWidth)

Set the stroke width

Since
1.0

Parameters

TFloatFixPt aWidth: width of stroke.

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

voidSetVars(TFloatFixPtaStrokeWidth,
TGfxJoinTypeaJoin,
TGfxCapTypeaCap,
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]