Home
last modified time | relevance | path

Searched refs:optional_point_t (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh1134 struct optional_point_t struct
1136 optional_point_t () { has_data = false; } in optional_point_t() argument
1137 optional_point_t (float x_, float y_) { x = x_; y = y_; has_data = true; } in optional_point_t() function
1143 optional_point_t lerp (optional_point_t p, float t) in lerp() argument
1144 { return optional_point_t (x + t * (p.x - x), y + t * (p.y - y)); } in lerp()
1151 first_oncurve = first_offcurve = last_offcurve = optional_point_t (); in path_builder_t()
1165 optional_point_t p (point.x, point.y); in consume_point()
1177 optional_point_t mid = first_offcurve.lerp (p, .5f); in consume_point()
1194 last_offcurve = optional_point_t (); in consume_point()
1198 optional_point_t mid = last_offcurve.lerp (p, .5f); in consume_point()
[all …]
/third_party/chromium/patch/
D0001-cve.patch33927 struct optional_point_t
33930 { return optional_point_t (x + t * (p.x - x), y + t * (p.y - y)); }
33939 first_oncurve = first_offcurve = last_offcurve = optional_point_t ();
33951 optional_point_t p (point.x, point.y);
33963 optional_point_t mid = first_offcurve.lerp (p, .5f);
33979 last_offcurve = optional_point_t ();
33983 optional_point_t mid = last_offcurve.lerp (p, .5f);
34002 optional_point_t mid = last_offcurve.lerp (first_offcurve, .5f);
34007 last_offcurve = optional_point_t ();
34032 first_oncurve = first_offcurve = last_offcurve = optional_point_t ();