LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
XHatch Class Referencefinal

#include <xhatch.hxx>

Collaboration diagram for XHatch:
[legend]

Public Member Functions

 XHatch ()
 
 XHatch (const Color &rCol, css::drawing::HatchStyle eStyle=css::drawing::HatchStyle_SINGLE, tools::Long nDistance=20, Degree10 nAngle=0_deg10)
 
bool operator== (const XHatch &rHatch) const
 
void SetHatchStyle (css::drawing::HatchStyle eNewStyle)
 
void SetColor (const Color &rColor)
 
void SetDistance (tools::Long nNewDistance)
 
void SetAngle (Degree10 nNewAngle)
 
css::drawing::HatchStyle GetHatchStyle () const
 
const ColorGetColor () const
 
tools::Long GetDistance () const
 
Degree10 GetAngle () const
 

Private Attributes

css::drawing::HatchStyle eStyle
 
Color aColor
 
tools::Long nDistance
 
Degree10 nAngle
 

Detailed Description

Definition at line 32 of file xhatch.hxx.

Constructor & Destructor Documentation

XHatch::XHatch ( )
inline

Definition at line 40 of file xhatch.hxx.

XHatch::XHatch ( const Color rCol,
css::drawing::HatchStyle  eStyle = css::drawing::HatchStyle_SINGLE,
tools::Long  nDistance = 20,
Degree10  nAngle = 0_deg10 
)

Definition at line 2552 of file xattr.cxx.

Member Function Documentation

Degree10 XHatch::GetAngle ( ) const
inline

Definition at line 54 of file xhatch.hxx.

Referenced by XFillHatchItem::QueryValue().

const Color& XHatch::GetColor ( ) const
inline

Definition at line 52 of file xhatch.hxx.

Referenced by XFillHatchItem::QueryValue().

tools::Long XHatch::GetDistance ( ) const
inline

Definition at line 53 of file xhatch.hxx.

Referenced by XFillHatchItem::QueryValue(), and XFillHatchItem::ScaleMetrics().

css::drawing::HatchStyle XHatch::GetHatchStyle ( ) const
inline

Definition at line 51 of file xhatch.hxx.

Referenced by XFillHatchItem::QueryValue().

bool XHatch::operator== ( const XHatch rHatch) const

Definition at line 2561 of file xattr.cxx.

References aColor, eStyle, nAngle, and nDistance.

void XHatch::SetAngle ( Degree10  nNewAngle)
inline

Definition at line 49 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue().

void XHatch::SetColor ( const Color rColor)
inline
void XHatch::SetDistance ( tools::Long  nNewDistance)
inline

Definition at line 48 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue(), and XFillHatchItem::ScaleMetrics().

void XHatch::SetHatchStyle ( css::drawing::HatchStyle  eNewStyle)
inline

Definition at line 46 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue().

Member Data Documentation

Color XHatch::aColor
private

Definition at line 35 of file xhatch.hxx.

Referenced by operator==().

css::drawing::HatchStyle XHatch::eStyle
private

Definition at line 34 of file xhatch.hxx.

Referenced by operator==().

Degree10 XHatch::nAngle
private

Definition at line 37 of file xhatch.hxx.

Referenced by operator==().

tools::Long XHatch::nDistance
private

Definition at line 36 of file xhatch.hxx.

Referenced by operator==().


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