parser/font_size_parser library
Constants
- cmSizeMultiplier → const double
- inchSizeMultiplier → const double
- mmSizeMultiplier → const double
- picasSizeMultiplier → const double
- pointSizeMultiplier → const double
Functions
-
parseSizeToPx(
String value, {double fontSizeEmMultiplier = 16.0, double rootFontSizeRemMultiplier = 16.0}) → double - Converts various CSS units to pixels (px).