Home | History | Annotate | Download | only in core

Lines Matching full:distance

12 // the max magnitude for the distance field
13 // distance values are limited to the range (-SK_DistanceFieldMagnitude, SK_DistanceFieldMagnitude]
15 // we need to pad around the original glyph to allow our maximum distance of
18 // the rect we render with is inset from the distance field glyph size to allow for bilerp
22 // The distance field is constructed as unsigned char values,
28 /** Given 8-bit mask data, generate the associated distance field
30 * @param distanceField The distance field to be generated. Should already be allocated
32 * @param image 8-bit mask we're using to generate the distance field.
41 /** Given 1-bit mask data, generate the associated distance field
43 * @param distanceField The distance field to be generated. Should already be allocated
45 * @param image 1-bit mask we're using to generate the distance field.
54 /** Given width and height of original image, return size (in bytes) of distance field