Searched refs:to_real (Results 1 – 5 of 5) sorted by relevance
128 extents->x_bearing = font->em_scalef_x (param.min_x.to_real ()); in get_extents()129 extents->width = font->em_scalef_x (param.max_x.to_real () - param.min_x.to_real ()); in get_extents()138 extents->y_bearing = font->em_scalef_y (param.max_y.to_real ()); in get_extents()139 extents->height = font->em_scalef_y (param.min_y.to_real () - param.max_y.to_real ()); in get_extents()
328 extents->x_bearing = font->em_scalef_x (bounds.min.x.to_real ()); in get_extents()329 extents->width = font->em_scalef_x (bounds.max.x.to_real () - bounds.min.x.to_real ()); in get_extents()338 extents->y_bearing = font->em_scalef_y (bounds.max.y.to_real ()); in get_extents()339 extents->height = font->em_scalef_y (bounds.min.y.to_real () - bounds.max.y.to_real ()); in get_extents()
230 double to_real () const { return value; } in to_real() function235 bool operator > (const number_t &n) const { return value > n.to_real (); } in operator >()242 set_real (to_real () + n.to_real ()); in operator +=()
172 double v = arg.to_real (); in blend_arg()175 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
855 if (fabs (d.x.to_real ()) > fabs (d.y.to_real ())) in flex1()