Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ClipperSVG Class Reference
Inheritance diagram for ClipperSVG:
Inheritance graph
[legend]
Collaboration diagram for ClipperSVG:
Collaboration graph
[legend]

Public Member Functions

 ClipperSVG (TreeSVG &root)
 
 ClipperSVG (const ClipperSVG &clipper)
 
int visitPrefix (TreeSVG &tree, const TreeSVG::path_t &path) override
 
int visitPostfix (TreeSVG &tree, const TreeSVG::path_t &path) override
 
- Public Member Functions inherited from TreeVisitor< TreeSVG >
virtual int visitPrefix (TreeSVG &tree, const typename T::path_t &path)
 Tasks to be executed before traversing child nodes.
 
virtual int visitPostfix (TreeSVG &tree, const typename T::path_t &path)
 Tasks to be executed after traversing child nodes.
 

Static Public Member Functions

static TreeSVG & getClippingRect (TreeSVG &root, size_t width, size_t height)
 Ensures a clipping path o f type RECT of given size.
 

Public Attributes

TreeSVG & root
 

Static Public Attributes

static const std::string CLIP
 

Member Function Documentation

◆ getClippingRect()

TreeSVG & getClippingRect ( TreeSVG &  root,
size_t  width,
size_t  height 
)
static

Ensures a clipping path o f type RECT of given size.

Only a single entry is created for each (width,height) combination


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