LibreOffice Module svx (master) 1
|
#include <xdash.hxx>
Public Member Functions | |
XDash (css::drawing::DashStyle eDash=css::drawing::DashStyle_RECT, sal_uInt16 nDots=1, double nDotLen=20, sal_uInt16 nDashes=1, double nDashLen=20, double nDistance=20) | |
bool | operator== (const XDash &rDash) const |
void | SetDashStyle (css::drawing::DashStyle eNewStyle) |
void | SetDots (sal_uInt16 nNewDots) |
void | SetDotLen (double nNewDotLen) |
void | SetDashes (sal_uInt16 nNewDashes) |
void | SetDashLen (double nNewDashLen) |
void | SetDistance (double nNewDistance) |
css::drawing::DashStyle | GetDashStyle () const |
sal_uInt16 | GetDots () const |
double | GetDotLen () const |
sal_uInt16 | GetDashes () const |
double | GetDashLen () const |
double | GetDistance () const |
double | CreateDotDashArray (::std::vector< double > &rDotDashArray, double fLineWidth) const |
Private Attributes | |
css::drawing::DashStyle | eDash |
sal_uInt16 | nDots |
sal_uInt16 | nDashes |
double | nDotLen |
double | nDashLen |
double | nDistance |
XDash::XDash | ( | css::drawing::DashStyle | eDash = css::drawing::DashStyle_RECT , |
sal_uInt16 | nDots = 1 , |
||
double | nDotLen = 20 , |
||
sal_uInt16 | nDashes = 1 , |
||
double | nDashLen = 20 , |
||
double | nDistance = 20 |
||
) |
double XDash::CreateDotDashArray | ( | ::std::vector< double > & | rDotDashArray, |
double | fLineWidth | ||
) | const |
Definition at line 509 of file xattr.cxx.
References a, GetDashes(), GetDashLen(), GetDashStyle(), GetDistance(), GetDotLen(), GetDots(), and SMALLEST_DASH_WIDTH().
Referenced by XDashList::CreateBitmapForXDash(), and drawinglayer::primitive2d::createNewSdrLineAttribute().
|
inline |
Definition at line 57 of file xdash.hxx.
Referenced by XDashList::CreateBitmapForXDash(), CreateDotDashArray(), drawinglayer::primitive2d::createNewSdrLineAttribute(), XLineDashItem::PutValue(), XLineDashItem::QueryValue(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
inline |
Definition at line 58 of file xdash.hxx.
Referenced by CreateDotDashArray(), XLineDashItem::QueryValue(), XLineDashItem::ScaleMetrics(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
inline |
Definition at line 54 of file xdash.hxx.
Referenced by CreateDotDashArray(), IMPL_LINK_NOARG(), and XLineDashItem::QueryValue().
|
inline |
Definition at line 59 of file xdash.hxx.
Referenced by CreateDotDashArray(), XLineDashItem::QueryValue(), XLineDashItem::ScaleMetrics(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
inline |
Definition at line 56 of file xdash.hxx.
Referenced by CreateDotDashArray(), XLineDashItem::QueryValue(), XLineDashItem::ScaleMetrics(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
inline |
Definition at line 55 of file xdash.hxx.
Referenced by XDashList::CreateBitmapForXDash(), CreateDotDashArray(), drawinglayer::primitive2d::createNewSdrLineAttribute(), XLineDashItem::PutValue(), XLineDashItem::QueryValue(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
bool XDash::operator== | ( | const XDash & | rDash | ) | const |
|
inline |
Definition at line 50 of file xdash.hxx.
Referenced by XLineDashItem::PutValue().
|
inline |
Definition at line 51 of file xdash.hxx.
Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().
|
inline |
Definition at line 47 of file xdash.hxx.
Referenced by XLineDashItem::PutValue().
|
inline |
Definition at line 52 of file xdash.hxx.
Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().
|
inline |
Definition at line 49 of file xdash.hxx.
Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().
|
inline |
Definition at line 48 of file xdash.hxx.
Referenced by XLineDashItem::PutValue().
|
private |
Definition at line 33 of file xdash.hxx.
Referenced by operator==().
|
private |
Definition at line 35 of file xdash.hxx.
Referenced by operator==().
|
private |
Definition at line 37 of file xdash.hxx.
Referenced by operator==().
|
private |
Definition at line 38 of file xdash.hxx.
Referenced by operator==().
|
private |
Definition at line 36 of file xdash.hxx.
Referenced by operator==().
|
private |
Definition at line 34 of file xdash.hxx.
Referenced by operator==().