[glyf] Optimize contour_point_t layout
This commit is contained in:
parent
75ca78a6bb
commit
cfc57ef862
|
@ -45,9 +45,9 @@ struct contour_point_t
|
||||||
|
|
||||||
void translate (const contour_point_t &p) { x += p.x; y += p.y; }
|
void translate (const contour_point_t &p) { x += p.x; y += p.y; }
|
||||||
|
|
||||||
uint8_t flag = 0;
|
|
||||||
float x = 0.f;
|
float x = 0.f;
|
||||||
float y = 0.f;
|
float y = 0.f;
|
||||||
|
uint8_t flag = 0;
|
||||||
bool is_end_point = false;
|
bool is_end_point = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue