SVG Value/Unit pair.
More...
#include <Svg.h>
List of all members.
Public Types |
enum | Unit {
USER,
PX,
PERCENT,
PT,
PC,
MM,
CM,
INCH,
EM,
EX
} |
Public Member Functions |
| Value () |
| Value (float value, Unit unit=USER) |
float | asUser (float percentOf=100, float dpi=72, float fontSize=12, float fontXHeight=7) const |
bool | isUser () const |
bool | isPercent () const |
bool | isPixels () const |
Static Public Member Functions |
static Value | parse (const char **sInOut) |
static Value | parse (const std::string &s) |
Public Attributes |
Unit | mUnit |
float | mValue |
Detailed Description
Member Enumeration Documentation
- Enumerator:
USER |
|
PX |
|
PERCENT |
|
PT |
|
PC |
|
MM |
|
CM |
|
INCH |
|
EM |
|
EX |
|
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: