Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgClipPathHelper Class Reference

#include <SvgClipPathHelper.h>

Public Member Functions

KoFlake::CoordinateSystem clipPathUnits () const
 Returns the clip path units type.
 
bool isEmpty () const
 
void setClipPathUnits (KoFlake::CoordinateSystem clipPathUnits)
 Set the clip path units type.
 
void setShapes (const QList< KoShape * > &shapes)
 
QList< KoShape * > shapes () const
 
 SvgClipPathHelper ()
 
 ~SvgClipPathHelper ()
 

Private Attributes

KoFlake::CoordinateSystem m_clipPathUnits
 
QList< KoShape * > m_shapes
 

Detailed Description

Definition at line 15 of file SvgClipPathHelper.h.

Constructor & Destructor Documentation

◆ SvgClipPathHelper()

SvgClipPathHelper::SvgClipPathHelper ( )

Definition at line 9 of file SvgClipPathHelper.cpp.

10 : m_clipPathUnits(KoFlake::UserSpaceOnUse) // default as per svg spec
11{
12}
KoFlake::CoordinateSystem m_clipPathUnits

◆ ~SvgClipPathHelper()

SvgClipPathHelper::~SvgClipPathHelper ( )

Definition at line 14 of file SvgClipPathHelper.cpp.

15{
16}

Member Function Documentation

◆ clipPathUnits()

KoFlake::CoordinateSystem SvgClipPathHelper::clipPathUnits ( ) const

Returns the clip path units type.

Definition at line 23 of file SvgClipPathHelper.cpp.

24{
25 return m_clipPathUnits;
26}

References m_clipPathUnits.

◆ isEmpty()

bool SvgClipPathHelper::isEmpty ( ) const

Definition at line 38 of file SvgClipPathHelper.cpp.

39{
40 return m_shapes.isEmpty();
41}
QList< KoShape * > m_shapes

References m_shapes.

◆ setClipPathUnits()

void SvgClipPathHelper::setClipPathUnits ( KoFlake::CoordinateSystem clipPathUnits)

Set the clip path units type.

Definition at line 18 of file SvgClipPathHelper.cpp.

19{
21}
KoFlake::CoordinateSystem clipPathUnits() const
Returns the clip path units type.

References clipPathUnits(), and m_clipPathUnits.

◆ setShapes()

void SvgClipPathHelper::setShapes ( const QList< KoShape * > & shapes)

Definition at line 33 of file SvgClipPathHelper.cpp.

34{
36}
QList< KoShape * > shapes() const

References m_shapes, and shapes().

◆ shapes()

QList< KoShape * > SvgClipPathHelper::shapes ( ) const

Definition at line 28 of file SvgClipPathHelper.cpp.

29{
30 return m_shapes;
31}

References m_shapes.

Member Data Documentation

◆ m_clipPathUnits

KoFlake::CoordinateSystem SvgClipPathHelper::m_clipPathUnits
private

Definition at line 32 of file SvgClipPathHelper.h.

◆ m_shapes

QList<KoShape*> SvgClipPathHelper::m_shapes
private

Definition at line 33 of file SvgClipPathHelper.h.


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