Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hdi::core::DashStyle Class Reference

Describes the dash styling of a path. More...

#include <hdicorePathStyle.h>

Classes

class  Map
 Acts as a DashStyle value map, indicating which values are "known". More...
 

Public Types

typedef std::auto_ptr< MapMapAP
 

Public Member Functions

 DashStyle ()
 DashStyle constructor; sets all the lengths to 0.0, the count to 0, and the offset to 0.0. More...
 
 DashStyle (const DashStyle &style_)
 Constructs a new DashStyle object from an existing one. More...
 
virtual ~DashStyle ()
 Destructs a DashStyle object. More...
 
DashStyleoperator= (const DashStyle &rhs_)
 DashStyle assignment operator. More...
 

Public Attributes

double lengths [maxDashComponents]
 Lengths of each dash component, in points.
 
int16_t count
 Number of valid values in the lengths array.
 
double offset
 Dash offset.
 

Static Public Attributes

static const int16_t maxDashComponents = 6
 Maximum number of sublengths that can compose a dash style.
 

Detailed Description

Describes the dash styling of a path.

Constructor & Destructor Documentation

hdi::core::DashStyle::DashStyle ( )

DashStyle constructor; sets all the lengths to 0.0, the count to 0, and the offset to 0.0.

Author
GW
Date
08/2013
hdi::core::DashStyle::DashStyle ( const DashStyle style_)

Constructs a new DashStyle object from an existing one.

Author
GW
Date
12/2013
Parameters
style_Existing DashStyle object to copy values from
virtual hdi::core::DashStyle::~DashStyle ( )
virtual

Destructs a DashStyle object.

Author
GW
Date
08/2013

Member Function Documentation

DashStyle& hdi::core::DashStyle::operator= ( const DashStyle rhs_)

DashStyle assignment operator.

Author
GW
Date
12/2013
Parameters
rhs_Existing DashStyle object to copy values from
Returns
The target DashStyle object, but with its values updated