12#ifndef _PDF_LINE_STYLE_H_
13#define _PDF_LINE_STYLE_H_
25 wxPDF_LINECAP_NONE = -1,
26 wxPDF_LINECAP_BUTT = 0,
27 wxPDF_LINECAP_ROUND = 1,
28 wxPDF_LINECAP_SQUARE = 2
34 wxPDF_LINEJOIN_NONE = -1,
35 wxPDF_LINEJOIN_MITER = 0,
36 wxPDF_LINEJOIN_ROUND = 1,
37 wxPDF_LINEJOIN_BEVEL = 2
62 const wxPdfArrayDouble& dash = wxPdfArrayDouble(),
double phase = -1,
85 bool IsSet()
const {
return m_isSet; }
91 void SetWidth(
double width) { m_width = width; }
127 void SetDash(
const wxPdfArrayDouble& dash) { m_dash = dash; }
133 const wxPdfArrayDouble&
GetDash()
const {
return m_dash; }
164 wxPdfArrayDouble m_dash;
Class representing wxPdfDocument colours.
Definition: pdfcolour.h:40
Class representing line styles.
Definition: pdflinestyle.h:42
wxPdfLineCap GetLineCap() const
Get the line ending style.
Definition: pdflinestyle.h:109
wxPdfLineJoin GetLineJoin() const
Get the line join style.
Definition: pdflinestyle.h:121
void SetLineJoin(const wxPdfLineJoin join)
Set the line join style.
Definition: pdflinestyle.h:115
const wxPdfArrayDouble & GetDash() const
Get the dash pattern.
Definition: pdflinestyle.h:133
void SetDash(const wxPdfArrayDouble &dash)
Set the dash pattern.
Definition: pdflinestyle.h:127
double GetPhase() const
Get the dash pattern phase.
Definition: pdflinestyle.h:145
double GetWidth() const
Get the line width.
Definition: pdflinestyle.h:97
void SetWidth(double width)
Set the line width.
Definition: pdflinestyle.h:91
const wxPdfColour & GetColour() const
Get the line colour.
Definition: pdflinestyle.h:157
void SetPhase(double phase)
Set the dash pattern phase.
Definition: pdflinestyle.h:139
bool IsSet() const
Check whether the style is initialized.
Definition: pdflinestyle.h:85
void SetColour(const wxPdfColour &colour)
Set the line colour.
Definition: pdflinestyle.h:151
void SetLineCap(const wxPdfLineCap cap)
Set the line ending style.
Definition: pdflinestyle.h:103
Definition of array of type double.
Interface of the wxPdfColour class.
Compile time switches for the wxPdfDocument component.
wxPdfLineCap
Line Cap options.
Definition: pdflinestyle.h:24
wxPdfLineJoin
Line join options.
Definition: pdflinestyle.h:33