7#ifndef __HDI_CORE_PATH_STYLE__
8#define __HDI_CORE_PATH_STYLE__
10#if defined(HDI_CORE_AIP_MODE)
57 Map(
const bool default_ =
false);
86 typedef std::unique_ptr<Map> MapUP;
87 typedef std::shared_ptr<Map> MapSP;
88 typedef std::weak_ptr<Map> MapWP;
139 typedef std::unique_ptr<DashStyle> DashStyleUP;
140 typedef std::shared_ptr<DashStyle> DashStyleSP;
141 typedef std::weak_ptr<DashStyle> DashStyleWP;
172 Map(
const bool default_ =
false);
201 typedef std::unique_ptr<Map> MapUP;
202 typedef std::shared_ptr<Map> MapSP;
203 typedef std::weak_ptr<Map> MapWP;
252 typedef std::unique_ptr<FillStyle> FillStyleUP;
253 typedef std::shared_ptr<FillStyle> FillStyleSP;
254 typedef std::weak_ptr<FillStyle> FillStyleWP;
270 SquareCap = ProjectingCap
331 Map(
const bool default_ =
false);
360 typedef std::unique_ptr<Map> MapUP;
361 typedef std::shared_ptr<Map> MapSP;
362 typedef std::weak_ptr<Map> MapWP;
434 typedef std::unique_ptr<StrokeStyle> StrokeStyleUP;
435 typedef std::shared_ptr<StrokeStyle> StrokeStyleSP;
436 typedef std::weak_ptr<StrokeStyle> StrokeStyleWP;
496 Map(
const bool default_ =
false);
516 typedef std::unique_ptr<Map> MapUP;
517 typedef std::shared_ptr<Map> MapSP;
518 typedef std::weak_ptr<Map> MapWP;
585 typedef std::unique_ptr<PathStyle> PathStyleUP;
586 typedef std::shared_ptr<PathStyle> PathStyleSP;
587 typedef std::weak_ptr<PathStyle> PathStyleWP;
Describes the color of art on the artboard.
Definition: hdicoreArtColor.h:40
Acts as a DashStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:33
bool lengths[maxDashComponents]
Whether the dash components are known.
Definition: hdicorePathStyle.h:38
virtual ~Map()
Destructs a Map object.
bool offset
Whether the offset is known.
Definition: hdicorePathStyle.h:48
Map(const bool default_=false)
Constructs a new Map object with values set to the given default.
Map & operator=(const Map &rhs_)
Map assignment operator.
Map(const Map &map_)
Constructs a new Map object from an existing one.
bool count
Whether the component count is known.
Definition: hdicorePathStyle.h:43
Describes the dash styling of a path.
Definition: hdicorePathStyle.h:22
virtual ~DashStyle()
Destructs a DashStyle object.
DashStyle & operator=(const DashStyle &rhs_)
DashStyle assignment operator.
DashStyle(const DashStyle &style_)
Constructs a new DashStyle object from an existing one.
double offset
Dash offset.
Definition: hdicorePathStyle.h:103
static const int16_t maxDashComponents
Maximum number of sublengths that can compose a dash style.
Definition: hdicorePathStyle.h:27
double lengths[maxDashComponents]
Lengths of each dash component, in points.
Definition: hdicorePathStyle.h:93
int16_t count
Number of valid values in the lengths array.
Definition: hdicorePathStyle.h:98
DashStyle()
DashStyle constructor; sets all the lengths to 0.0, the count to 0, and the offset to 0....
Acts as a FillStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:153
Map(const bool default_=false)
Constructs a new Map object with values set to the given default.
Map & operator=(const Map &rhs_)
Map assignment operator.
Map(const Map &map_)
Constructs a new Map object from an existing one.
bool color
Whether the color is known.
Definition: hdicorePathStyle.h:158
virtual ~Map()
Destructs a Map object.
bool overprint
Whether the overprint setting is known.
Definition: hdicorePathStyle.h:163
Describes the fill styling of a path.
Definition: hdicorePathStyle.h:147
FillStyle(const FillStyle &style_)
Constructs a new FillStyle object from an existing one.
virtual ~FillStyle()
Destructs a FillStyle object.
FillStyle & operator=(const FillStyle &rhs_)
FillStyle assignment operator.
FillStyle()
FillStyle constructor; sets the color to none and overprint to false.
ArtColor color
Fill color.
Definition: hdicorePathStyle.h:208
bool overprint
Controls whether fill overprint is enabled.
Definition: hdicorePathStyle.h:216
Acts as a StrokeStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:448
bool evenodd
Whether the evenodd setting is known.
Definition: hdicorePathStyle.h:473
bool useFill
Whether the useFill setting is known.
Definition: hdicorePathStyle.h:453
bool useStroke
Whether the useStroke setting is known.
Definition: hdicorePathStyle.h:463
FillStyle::Map fill
FillStyle value mappings.
Definition: hdicorePathStyle.h:458
Map & operator=(const Map &rhs_)
Map assignment operator.
virtual ~Map()
Destructs a Map object.
Map(const bool default_=false)
Constructs a new Map object with values set to the given default.
Map(const Map &map_)
Constructs a new Map object from an existing one.
bool resolution
Whether the resolution is known.
Definition: hdicorePathStyle.h:478
StrokeStyle::Map stroke
StrokeStyle value mappings.
Definition: hdicorePathStyle.h:468
Describes all styling attributes of a path.
Definition: hdicorePathStyle.h:442
bool evenodd
Whether to use the even-odd rule to determine path insideness.
Definition: hdicorePathStyle.h:543
PathStyle & operator=(const PathStyle &rhs_)
PathStyle assignment operator.
virtual ~PathStyle()
Destructs a PathStyle object.
bool useFill
Whether or not to use fill.
Definition: hdicorePathStyle.h:523
FillStyle fill
Fill style.
Definition: hdicorePathStyle.h:528
StrokeStyle stroke
Stroke style.
Definition: hdicorePathStyle.h:538
bool useStroke
Whether or not to use stroke.
Definition: hdicorePathStyle.h:533
PathStyle(const PathStyle &style_)
Constructs a new PathStyle object from an existing one.
PathStyle()
PathStyle constructor; sets useFill to false, useStroke to false, evenodd to false,...
double resolution
Resolution for the path.
Definition: hdicorePathStyle.h:548
Acts as a StrokeStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:287
bool width
Whether the width is known.
Definition: hdicorePathStyle.h:302
bool join
Whether the join setting is known.
Definition: hdicorePathStyle.h:317
bool cap
Whether the cap setting is known.
Definition: hdicorePathStyle.h:312
bool color
Whether the color is known.
Definition: hdicorePathStyle.h:292
bool overprint
Whether the overprint setting is known.
Definition: hdicorePathStyle.h:297
bool miterLimit
Whether the miter limit is known.
Definition: hdicorePathStyle.h:322
DashStyle::Map dash
Dash style value mappings.
Definition: hdicorePathStyle.h:307
Map(const bool default_=false)
Constructs a new Map object with values set to the given default.
virtual ~Map()
Destructs a Map object.
Map(const Map &map_)
Constructs a new Map object from an existing one.
Map & operator=(const Map &rhs_)
Map assignment operator.
Describes the stroke styling of a path.
Definition: hdicorePathStyle.h:260
StrokeStyle & operator=(const StrokeStyle &rhs_)
StrokeStyle assignment operator.
JoinStyle join
Stroke join style.
Definition: hdicorePathStyle.h:392
double miterLimit
Stroke miter limit.
Definition: hdicorePathStyle.h:397
StrokeStyle(const StrokeStyle &style_)
Constructs a new StrokeStyle object from an existing one.
virtual ~StrokeStyle()
Destructs a StrokeStyle object.
StrokeStyle()
StrokeStyle constructor; sets overprint to false, the width to 0.0, the color to none,...
JoinStyle
Indicates the type of join for a given stroke style.
Definition: hdicorePathStyle.h:277
CapStyle
Indicates the type of cap for a given stroke style.
Definition: hdicorePathStyle.h:266
bool overprint
Controls whether stroke overprint is enabled.
Definition: hdicorePathStyle.h:372
double width
Stroke width, in points.
Definition: hdicorePathStyle.h:377
DashStyle dash
Stroke dash style.
Definition: hdicorePathStyle.h:382
CapStyle cap
Stroke cap style.
Definition: hdicorePathStyle.h:387
ArtColor color
Stroke color.
Definition: hdicorePathStyle.h:367
Header file for art color manipulation.