Lines Matching refs:metrics
3457 double *metrics; in PHP_METHOD() local
3513 metrics = MagickQueryMultilineFontMetrics(intern->magick_wand, internd->drawing_wand, text); in PHP_METHOD()
3515 metrics = MagickQueryFontMetrics(intern->magick_wand, internd->drawing_wand, text); in PHP_METHOD()
3523 if (!metrics) { in PHP_METHOD()
3536 add_assoc_double(return_value, "characterWidth", metrics[0]); in PHP_METHOD()
3537 add_assoc_double(return_value, "characterHeight", metrics[1]); in PHP_METHOD()
3538 add_assoc_double(return_value, "ascender", metrics[2]); in PHP_METHOD()
3539 add_assoc_double(return_value, "descender", metrics[3]); in PHP_METHOD()
3540 add_assoc_double(return_value, "textWidth", metrics[4]); in PHP_METHOD()
3541 add_assoc_double(return_value, "textHeight", metrics[5]); in PHP_METHOD()
3542 add_assoc_double(return_value, "maxHorizontalAdvance", metrics[6]); in PHP_METHOD()
3545 add_assoc_double(pbounding, "x1", metrics[7]); in PHP_METHOD()
3546 add_assoc_double(pbounding, "y1", metrics[8]); in PHP_METHOD()
3547 add_assoc_double(pbounding, "x2", metrics[9]); in PHP_METHOD()
3548 add_assoc_double(pbounding, "y2", metrics[10]); in PHP_METHOD()
3550 add_assoc_double(return_value, "originX", metrics[11]); in PHP_METHOD()
3551 add_assoc_double(return_value, "originY", metrics[12]); in PHP_METHOD()
3553 IMAGICK_FREE_MAGICK_MEMORY(metrics); in PHP_METHOD()