Lines Matching refs:pixel

84      * to round down the glyph positions to integral pixel positions.
172 GlyphBlitVector *gbv, jint pixel, jint color,
222 pixel, color,
237 GlyphBlitVector *gbv, jint pixel, jint color,
290 pixel, color,
311 jint pixel, color;
323 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
325 drawGlyphList(env, self, sg2d, sData, gbv, pixel, color,
341 jint pixel, color;
352 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
354 drawGlyphList(env, self, sg2d, sData, gbv, pixel, color,
369 jint pixel, color, contrast;
381 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
385 drawGlyphListLCD(env, self, sg2d, sData, gbv, pixel, color,
393 * So we add 3 bytes (one whole pixel) of padding at the start of every row
394 * to hold energy from the very leftmost sub-pixel.
396 * adjusts the top-left X position of the padded image one pixel to the left
403 * text when the client specifies a fractional metrics sub-pixel positioning
411 * Ex is extra energy spread from the glyph into the left padding pixel.
412 * Gn are the RGB component bytes of the first pixel of the glyph image
415 * If a glyph is drawn at X=12 then the G0 G1 G2 pixel is placed at that
416 * position : ie G0 is drawn in the first sub-pixel at X=12
423 * If a sub-pixel rounded glyph position is calculated as being X=12.33 -
430 * ie the G0 byte is moved one sub-pixel to the right.
438 * If a sub-pixel rounded glyph position is calculated as being X=12.67 -
451 * red sub-pixel position.
460 * than rounding to the whole pixel grid, as a few issues arise.
463 * to 1/3 pixel resolution, is also limited because the glyphs were hinted
464 * so they fit to the whole pixel grid. It may be worthwhile to pursue
476 * likelihood for glyphs to abutt. In integer metrics or even whole pixel
513 * that we can round it to an integral pixel position for a
586 * case we cannot apply sub-pixel positioning so ignore it.
593 /* Calculate the fractional pixel position - ie the subpixel
606 * to no sub-pixel positioning.
611 * which the glyph will be positioned by one pixel to the