LibreOffice Module drawinglayer (master) 1
Public Member Functions | Public Attributes | List of all members
emfplushelper::EMFPPen Struct Reference

#include <emfppen.hxx>

Inheritance diagram for emfplushelper::EMFPPen:
[legend]
Collaboration diagram for emfplushelper::EMFPPen:
[legend]

Public Member Functions

 EMFPPen ()
 
virtual ~EMFPPen () override
 
void Read (SvStream &s, EmfPlusHelperData const &rR)
 
drawinglayer::attribute::StrokeAttribute GetStrokeAttribute (const double aTransformation) const
 
- Public Member Functions inherited from emfplushelper::EMFPBrush
 EMFPBrush ()
 
virtual ~EMFPBrush () override
 
sal_uInt32 GetType () const
 
const ::ColorGetColor () const
 
void Read (SvStream &s, EmfPlusHelperData const &rR)
 
- Public Member Functions inherited from emfplushelper::EMFPObject
virtual ~EMFPObject ()
 

Public Attributes

basegfx::B2DHomMatrix pen_transformation
 
sal_uInt32 penDataFlags
 
sal_uInt32 penUnit
 
float penWidth
 
sal_Int32 startCap
 
sal_Int32 endCap
 
basegfx::B2DLineJoin maLineJoin
 
double fMiterMinimumAngle
 
sal_Int32 dashStyle
 
sal_Int32 dashCap
 
float dashOffset
 
std::vector< float > dashPattern
 
sal_Int32 alignment
 
std::vector< float > compoundArray
 
sal_uInt32 customStartCapLen
 
std::unique_ptr< EMFPCustomLineCapcustomStartCap
 
sal_uInt32 customEndCapLen
 
std::unique_ptr< EMFPCustomLineCapcustomEndCap
 
- Public Attributes inherited from emfplushelper::EMFPBrush
::Color solidColor
 
sal_uInt32 type
 
sal_uInt32 additionalFlags
 
sal_Int32 wrapMode
 
float firstPointX
 
float firstPointY
 
float aWidth
 
float aHeight
 
::Color secondColor
 
basegfx::B2DHomMatrix brush_transformation
 
bool hasTransformation
 
sal_uInt32 blendPoints
 
std::unique_ptr< float[]> blendPositions
 
float * blendFactors
 
sal_uInt32 colorblendPoints
 
std::unique_ptr< float[]> colorblendPositions
 
std::unique_ptr<::Color[]> colorblendColors
 
sal_uInt32 surroundColorsNumber
 
std::unique_ptr<::Color[]> surroundColors
 
std::unique_ptr< EMFPPathpath
 
EmfPlusHatchStyle hatchStyle
 

Detailed Description

Definition at line 99 of file emfppen.hxx.

Constructor & Destructor Documentation

◆ EMFPPen()

emfplushelper::EMFPPen::EMFPPen ( )

Definition at line 34 of file emfppen.cxx.

References deg2rad(), and Miter.

◆ ~EMFPPen()

emfplushelper::EMFPPen::~EMFPPen ( )
overridevirtual

Definition at line 51 of file emfppen.cxx.

Member Function Documentation

◆ GetStrokeAttribute()

drawinglayer::attribute::StrokeAttribute emfplushelper::EMFPPen::GetStrokeAttribute ( const double  aTransformation) const

◆ Read()

void emfplushelper::EMFPPen::Read ( SvStream s,
EmfPlusHelperData const &  rR 
)

Definition at line 183 of file emfppen.cxx.

References abs(), alignment, basegfx::Bevel, compoundArray, customEndCap, customEndCapLen, customStartCap, customStartCapLen, dashCap, emfplushelper::DashedLineCapTypeToString(), dashOffset, dashPattern, dashStyle, basegfx::deg2rad(), emfplushelper::EmfPlusLineJoinTypeBevel, emfplushelper::EmfPlusLineJoinTypeMiter, emfplushelper::EmfPlusLineJoinTypeMiterClipped, emfplushelper::EmfPlusLineJoinTypeRound, emfplushelper::EmfPlusLineStyleCustom, emfplushelper::EmfPlusPenDataAlignment, emfplushelper::EmfPlusPenDataCompoundLine, emfplushelper::EmfPlusPenDataCustomEndCap, emfplushelper::EmfPlusPenDataCustomStartCap, emfplushelper::EmfPlusPenDataDashedLine, emfplushelper::EmfPlusPenDataDashedLineCap, emfplushelper::EmfPlusPenDataDashedLineOffset, emfplushelper::EmfPlusPenDataEndCap, emfplushelper::EmfPlusPenDataJoin, emfplushelper::EmfPlusPenDataLineStyle, emfplushelper::EmfPlusPenDataMiterLimit, emfplushelper::EmfPlusPenDataStartCap, emfplushelper::EmfPlusPenDataTransform, endCap, fMiterMinimumAngle, i, emfplushelper::LineCapTypeToString(), maLineJoin, basegfx::Miter, pen_transformation, emfplushelper::PenAlignmentToString(), penDataFlags, emfplushelper::PenDataFlagsToString(), penUnit, penWidth, pos, emfplushelper::EMFPBrush::Read(), SvStream::ReadFloat(), SvStream::ReadInt32(), SvStream::ReadUInt32(), emfplushelper::EmfPlusHelperData::readXForm(), basegfx::Round, SAL_INFO, SAL_WARN, SvStream::Seek(), startCap, SvStream::Tell(), and emfplushelper::UnitTypeToString().

Referenced by emfplushelper::EmfPlusHelperData::processObjectRecord().

Member Data Documentation

◆ alignment

sal_Int32 emfplushelper::EMFPPen::alignment

Definition at line 113 of file emfppen.hxx.

Referenced by Read().

◆ compoundArray

std::vector<float> emfplushelper::EMFPPen::compoundArray

Definition at line 114 of file emfppen.hxx.

Referenced by Read().

◆ customEndCap

std::unique_ptr<EMFPCustomLineCap> emfplushelper::EMFPPen::customEndCap

Definition at line 118 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().

◆ customEndCapLen

sal_uInt32 emfplushelper::EMFPPen::customEndCapLen

Definition at line 117 of file emfppen.hxx.

Referenced by Read().

◆ customStartCap

std::unique_ptr<EMFPCustomLineCap> emfplushelper::EMFPPen::customStartCap

Definition at line 116 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().

◆ customStartCapLen

sal_uInt32 emfplushelper::EMFPPen::customStartCapLen

Definition at line 115 of file emfppen.hxx.

Referenced by Read().

◆ dashCap

sal_Int32 emfplushelper::EMFPPen::dashCap

Definition at line 110 of file emfppen.hxx.

Referenced by Read().

◆ dashOffset

float emfplushelper::EMFPPen::dashOffset

Definition at line 111 of file emfppen.hxx.

Referenced by Read().

◆ dashPattern

std::vector<float> emfplushelper::EMFPPen::dashPattern

Definition at line 112 of file emfppen.hxx.

Referenced by GetStrokeAttribute(), and Read().

◆ dashStyle

sal_Int32 emfplushelper::EMFPPen::dashStyle

Definition at line 109 of file emfppen.hxx.

Referenced by GetStrokeAttribute(), and Read().

◆ endCap

sal_Int32 emfplushelper::EMFPPen::endCap

Definition at line 106 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().

◆ fMiterMinimumAngle

double emfplushelper::EMFPPen::fMiterMinimumAngle

Definition at line 108 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().

◆ maLineJoin

basegfx::B2DLineJoin emfplushelper::EMFPPen::maLineJoin

Definition at line 107 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().

◆ pen_transformation

basegfx::B2DHomMatrix emfplushelper::EMFPPen::pen_transformation

Definition at line 101 of file emfppen.hxx.

Referenced by Read().

◆ penDataFlags

sal_uInt32 emfplushelper::EMFPPen::penDataFlags

◆ penUnit

sal_uInt32 emfplushelper::EMFPPen::penUnit

Definition at line 103 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::processObjectRecord(), and Read().

◆ penWidth

float emfplushelper::EMFPPen::penWidth

◆ startCap

sal_Int32 emfplushelper::EMFPPen::startCap

Definition at line 105 of file emfppen.hxx.

Referenced by emfplushelper::EmfPlusHelperData::EMFPPlusDrawPolygon(), and Read().


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