LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
XFSvgPathEntry Class Reference

SVG path segment wrapper. More...

#include <xfdrawpath.hxx>

Public Member Functions

 XFSvgPathEntry ()
 
void SetCommand (const OUString &cmd)
 @descr Set svg path command,L for line,M for move,... More...
 
void AddPoint (const XFPoint &pt)
 @descr Set svg path point. More...
 
OUString ToString ()
 

Private Attributes

OUString m_strCommand
 
std::vector< XFPointm_aPoints
 

Friends

class XFDrawPath
 

Detailed Description

SVG path segment wrapper.

Definition at line 70 of file xfdrawpath.hxx.

Constructor & Destructor Documentation

◆ XFSvgPathEntry()

XFSvgPathEntry::XFSvgPathEntry ( )

Definition at line 64 of file xfdrawpath.cxx.

Member Function Documentation

◆ AddPoint()

void XFSvgPathEntry::AddPoint ( const XFPoint pt)
inline

@descr Set svg path point.

Definition at line 84 of file xfdrawpath.hxx.

References m_aPoints, and pt.

Referenced by XFDrawPath::CurveTo(), XFDrawPath::LineTo(), and XFDrawPath::MoveTo().

◆ SetCommand()

void XFSvgPathEntry::SetCommand ( const OUString &  cmd)
inline

@descr Set svg path command,L for line,M for move,...

Definition at line 131 of file xfdrawpath.hxx.

References m_strCommand.

Referenced by XFDrawPath::ClosePath(), XFDrawPath::CurveTo(), XFDrawPath::LineTo(), and XFDrawPath::MoveTo().

◆ ToString()

OUString XFSvgPathEntry::ToString ( )

Definition at line 68 of file xfdrawpath.cxx.

References m_aPoints, m_strCommand, and point().

Friends And Related Function Documentation

◆ XFDrawPath

friend class XFDrawPath
friend

Definition at line 88 of file xfdrawpath.hxx.

Member Data Documentation

◆ m_aPoints

std::vector<XFPoint> XFSvgPathEntry::m_aPoints
private

Definition at line 92 of file xfdrawpath.hxx.

Referenced by AddPoint(), and ToString().

◆ m_strCommand

OUString XFSvgPathEntry::m_strCommand
private

Definition at line 91 of file xfdrawpath.hxx.

Referenced by SetCommand(), and ToString().


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