Inkscape
Vector Graphics Editor
|
#include <svg-bool.h>
Public Member Functions | |
SVGBool (bool default_value) | |
This boolean is not an SVG specification type, but it is something Inkscape uses for many of it's internal values. | |
operator bool () const | |
bool | read (gchar const *str) |
void | unset () |
void | readOrUnset (gchar const *str) |
Private Attributes | |
bool | _is_set = false |
bool | _value = false |
bool | _default = false |
Definition at line 15 of file svg-bool.h.
SVGBool::SVGBool | ( | bool | default_value | ) |
This boolean is not an SVG specification type, but it is something Inkscape uses for many of it's internal values.
Definition at line 21 of file svg-bool.cpp.
|
inline |
Definition at line 19 of file svg-bool.h.
bool SVGBool::read | ( | gchar const * | str | ) |
Definition at line 25 of file svg-bool.cpp.
References _is_set, and _value.
Referenced by readOrUnset(), and SPGrid::set().
void SVGBool::readOrUnset | ( | gchar const * | str | ) |
Definition at line 42 of file svg-bool.cpp.
References read(), and unset().
Referenced by SPNamedView::set(), and Inkscape::PageManager::subset().
void SVGBool::unset | ( | ) |
|
private |
Definition at line 28 of file svg-bool.h.
Referenced by operator bool().
|
private |
Definition at line 26 of file svg-bool.h.
Referenced by operator bool(), read(), and unset().
|
private |
Definition at line 27 of file svg-bool.h.
Referenced by operator bool(), and read().