SVG Value/Unit pair.


Enums


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

  • parse (const char **sInOut)
  • parse (const std::string &s)