sf-svg
|
C++-styled cstyle::PathStruct wrapper. More...
#include <Path.hpp>
Public Member Functions | |
Path (const cstyle::PathStruct *ptr) | |
Constructor. More... | |
Path & | operator++ () |
Get points sets. More... | |
operator bool () const | |
Cast nsvg::Path → bool. More... | |
Public Attributes | |
const cstyle::PathStruct * | internal |
C++-styled cstyle::PathStruct wrapper.
nsvg::Path::Path | ( | const cstyle::PathStruct * | ptr | ) |
Constructor.
[in] | ptr | – const pointer to PathStruct |
It's the only constructor of nsvg::Path class, which wraps given cstyle::PathStruct into object orientated interface.
nsvg::Path::operator bool | ( | ) | const |
Cast nsvg::Path → bool.
Implicitly cast *this to bool, equivalent to nsvg::Path::good() method.
Path & nsvg::Path::operator++ | ( | ) |
Get points sets.
Sample code: