< prev index next >

src/java.desktop/share/native/libfreetype/include/freetype/ftimage.h

Print this page

        

*** 867,877 **** * to let client applications draw themselves the gray pixel spans on * each scan line. * * @input: * y :: ! * The scanline's y~coordinate. * * count :: * The number of spans to draw on this scanline. * * spans :: --- 867,877 ---- * to let client applications draw themselves the gray pixel spans on * each scan line. * * @input: * y :: ! * The scanline's upward y~coordinate. * * count :: * The number of spans to draw on this scanline. * * spans ::
*** 943,965 **** * * FT_RASTER_FLAG_DIRECT :: * This flag is set to indicate direct rendering. In this mode, client * applications must provide their own span callback. This lets them * directly draw or compose over an existing bitmap. If this bit is ! * not set, the target pixmap's buffer _must_ be zeroed before ! * rendering. * * Direct rendering is only possible with anti-aliased glyphs. * * FT_RASTER_FLAG_CLIP :: * This flag is only used in direct rendering mode. If set, the output * will be clipped to a box specified in the `clip_box` field of the ! * @FT_Raster_Params structure. ! * ! * Note that by default, the glyph bitmap is clipped to the target ! * pixmap, except in direct rendering mode where all spans are ! * generated if no clipping box is set. */ #define FT_RASTER_FLAG_DEFAULT 0x0 #define FT_RASTER_FLAG_AA 0x1 #define FT_RASTER_FLAG_DIRECT 0x2 #define FT_RASTER_FLAG_CLIP 0x4 --- 943,962 ---- * * FT_RASTER_FLAG_DIRECT :: * This flag is set to indicate direct rendering. In this mode, client * applications must provide their own span callback. This lets them * directly draw or compose over an existing bitmap. If this bit is ! * _not_ set, the target pixmap's buffer _must_ be zeroed before ! * rendering and the output will be clipped to its size. * * Direct rendering is only possible with anti-aliased glyphs. * * FT_RASTER_FLAG_CLIP :: * This flag is only used in direct rendering mode. If set, the output * will be clipped to a box specified in the `clip_box` field of the ! * @FT_Raster_Params structure. Otherwise, the `clip_box` is ! * effectively set to the bounding box and all spans are generated. */ #define FT_RASTER_FLAG_DEFAULT 0x0 #define FT_RASTER_FLAG_AA 0x1 #define FT_RASTER_FLAG_DIRECT 0x2 #define FT_RASTER_FLAG_CLIP 0x4
*** 976,986 **** * * @struct: * FT_Raster_Params * * @description: ! * A structure to hold the arguments used by a raster's render function. * * @fields: * target :: * The target bitmap. * --- 973,984 ---- * * @struct: * FT_Raster_Params * * @description: ! * A structure to hold the parameters used by a raster's render function, ! * passed as an argument to @FT_Outline_Render. * * @fields: * target :: * The target bitmap. *
< prev index next >