[outline] Rename internal function
This commit is contained in:
parent
5c46286592
commit
91627daee2
|
@ -85,7 +85,7 @@ void hb_outline_t::replay (hb_draw_funcs_t *pen, void *pen_data) const
|
|||
}
|
||||
}
|
||||
|
||||
float hb_outline_t::area () const
|
||||
float hb_outline_t::control_area () const
|
||||
{
|
||||
float a = 0;
|
||||
unsigned first = 0;
|
||||
|
@ -118,7 +118,7 @@ void hb_outline_t::embolden (float x_strength, float y_strength,
|
|||
x_strength /= 2.f;
|
||||
y_strength /= 2.f;
|
||||
|
||||
bool orientation_negative = area () < 0;
|
||||
bool orientation_negative = control_area () < 0;
|
||||
|
||||
signed first = 0;
|
||||
for (unsigned c = 0; c < contours.length; c++)
|
||||
|
|
|
@ -68,7 +68,7 @@ struct hb_outline_t
|
|||
void reset () { points.shrink (0, false); contours.resize (0); }
|
||||
|
||||
HB_INTERNAL void replay (hb_draw_funcs_t *pen, void *pen_data) const;
|
||||
HB_INTERNAL float area () const;
|
||||
HB_INTERNAL float control_area () const;
|
||||
HB_INTERNAL void embolden (float x_strength, float y_strength,
|
||||
float x_shift, float y_shift);
|
||||
|
||||
|
|
Loading…
Reference in New Issue