Comprehensive Guide for Developers: Features, Integration, and API Reference
Represents a clip in a PDF document. More...
#include <pdfsdk/cxx/clip.h>
Public Member Functions | |
| RectF | GetBBox () const |
| size_t | GetNumElements () const |
| Element | GetElement (size_t index) const |
| void | InsertElement (size_t index, const Element &element) |
| void | AppendElement (const Element &element) |
| void | RemoveElement (size_t index) |
| Clip (PDEClip handle, bool adopt=false) noexcept | |
| Clip (const Clip &rhs) noexcept | |
| Clip & | operator= (const Clip &rhs) noexcept |
| Clip (Clip &&rhs) noexcept | |
| Clip & | operator= (Clip &&rhs) noexcept |
Represents a clip in a PDF document.
ISO 32000-2:2020 - 8.5.4 Clipping path operators
| void PDF::Clip::AppendElement | ( | const Element & | element | ) |
Append a path element to the end of the clip.
| element | The element to append. |
| RectF PDF::Clip::GetBBox | ( | ) | const |
Get the bounding box of the clip.
| Element PDF::Clip::GetElement | ( | size_t | index | ) | const |
Get the path element at the specified index in the clip.
| index | The index of the element to retrieve. |
| size_t PDF::Clip::GetNumElements | ( | ) | const |
Get the number of path elements in the clip.
| void PDF::Clip::InsertElement | ( | size_t | index, |
| const Element & | element ) |
Insert a path element at the specified index in the clip.
| index | The index at which to insert the element. |
| element | The element to insert. |
| void PDF::Clip::RemoveElement | ( | size_t | index | ) |
Remove the path element at the specified index from the clip.
| index | The index of the element to remove. |