Lines Matching refs:dpi
166 NSVGimage* nsvgParseFromFile(const char* filename, const char* units, float dpi);
170 NSVGimage* nsvgParse(char* input, const char* units, float dpi);
457 float dpi; member
795 case NSVG_UNITS_PT: return c.value / 72.0f * p->dpi; in nsvg__convertToPixels()
796 case NSVG_UNITS_PC: return c.value / 6.0f * p->dpi; in nsvg__convertToPixels()
797 case NSVG_UNITS_MM: return c.value / 25.4f * p->dpi; in nsvg__convertToPixels()
798 case NSVG_UNITS_CM: return c.value / 2.54f * p->dpi; in nsvg__convertToPixels()
799 case NSVG_UNITS_IN: return c.value * p->dpi; in nsvg__convertToPixels()
2876 NSVGimage* nsvgParse(char* input, const char* units, float dpi) in nsvgParse() argument
2885 p->dpi = dpi; in nsvgParse()
2900 NSVGimage* nsvgParseFromFile(const char* filename, const char* units, float dpi) in nsvgParseFromFile() argument
2917 image = nsvgParse(data, units, dpi); in nsvgParseFromFile()