IpeStrokeStyle Class Reference
[Ipe Attributes]

Encapsulates line join, line cap, and eofill vs windfill rule. More...

List of all members.

Public Types

Public Member Functions


Detailed Description

Encapsulates line join, line cap, and eofill vs windfill rule.

This class encapsulates three IpeAttributes in the space of one int.


Member Enumeration Documentation

anonymous enum

Line join style.

anonymous enum

Line cap style.


Constructor & Destructor Documentation

IpeStrokeStyle::IpeStrokeStyle (  )  [inline]

Constructor creates all null attributes.


Member Function Documentation

void IpeStrokeStyle::SetJoin ( int  val  ) 

Set line join.

If val < 0 or val > 2, set to default.

void IpeStrokeStyle::SetCap ( int  val  ) 

Set line cap.

If val < 0 or val > 2, set to default.

void IpeStrokeStyle::SetWindRule ( int  val  ) 

Set wind rule (0 = even-odd file, 1 = wind fill).

If val < 0 or val > 1, set to default.

void IpeStrokeStyle::SetJoin ( IpeAttribute  val  ) 

Set join from attribute.

void IpeStrokeStyle::SetCap ( IpeAttribute  val  ) 

Set line cap from attribute.

void IpeStrokeStyle::SetWindRule ( IpeAttribute  val  ) 

Set wind rule from attribute.


The documentation for this class was generated from the following files: