Data Structures |
| struct | TCell |
| struct | PWorker |
| struct | PRaster |
| struct | TBand |
Defines |
| #define | FT_COMPONENT trace_smooth |
| #define | ErrRaster_Invalid_Mode Smooth_Err_Cannot_Render_Glyph |
| #define | ErrRaster_Invalid_Outline Smooth_Err_Invalid_Outline |
| #define | ErrRaster_Memory_Overflow Smooth_Err_Out_Of_Memory |
| #define | ErrRaster_Invalid_Argument Smooth_Err_Invalid_Argument |
| #define | FT_MEM_SET(d, s, c) ft_memset( d, s, c ) |
| #define | FT_MEM_ZERO(dest, count) FT_MEM_SET( dest, 0, count ) |
| #define | RAS_ARG PWorker worker |
| #define | RAS_ARG_ PWorker worker, |
| #define | RAS_VAR worker |
| #define | RAS_VAR_ worker, |
| #define | PIXEL_BITS 8 |
| #define | ONE_PIXEL ( 1L << PIXEL_BITS ) |
| #define | PIXEL_MASK ( -1L << PIXEL_BITS ) |
| #define | TRUNC(x) ( (TCoord)( (x) >> PIXEL_BITS ) ) |
| #define | SUBPIXELS(x) ( (TPos)(x) << PIXEL_BITS ) |
| #define | FLOOR(x) ( (x) & -ONE_PIXEL ) |
| #define | CEILING(x) ( ( (x) + ONE_PIXEL - 1 ) & -ONE_PIXEL ) |
| #define | ROUND(x) ( ( (x) + ONE_PIXEL / 2 ) & -ONE_PIXEL ) |
| #define | UPSCALE(x) ( (x) << ( PIXEL_BITS - 6 ) ) |
| #define | DOWNSCALE(x) ( (x) >> ( PIXEL_BITS - 6 ) ) |
| #define | FT_MAX_GRAY_SPANS 32 |
| #define | ras (*worker) |
Typedefs |
| typedef long | TCoord |
| typedef long | TPos |
| typedef int | TArea |
| typedef struct TCell_ * | PCell |
Functions |
| static void | gray_init_cells (RAS_ARG_ void *buffer, long byte_size) |
| static void | gray_compute_cbox (RAS_ARG) |
| static PCell | gray_find_cell (RAS_ARG) |
| static void | gray_record_cell (RAS_ARG) |
| static void | gray_set_cell (RAS_ARG_ TCoord ex, TCoord ey) |
| static void | gray_start_cell (RAS_ARG_ TCoord ex, TCoord ey) |
| static void | gray_render_scanline (RAS_ARG_ TCoord ey, TPos x1, TCoord y1, TPos x2, TCoord y2) |
| static void | gray_render_line (RAS_ARG_ TPos to_x, TPos to_y) |
| static void | gray_split_conic (FT_Vector *base) |
| static void | gray_render_conic (RAS_ARG_ const FT_Vector *control, const FT_Vector *to) |
| static void | gray_split_cubic (FT_Vector *base) |
| static void | gray_render_cubic (RAS_ARG_ const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to) |
| static int | gray_move_to (const FT_Vector *to, PWorker worker) |
| static int | gray_line_to (const FT_Vector *to, PWorker worker) |
| static int | gray_conic_to (const FT_Vector *control, const FT_Vector *to, PWorker worker) |
| static int | gray_cubic_to (const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, PWorker worker) |
| static void | gray_render_span (int y, int count, const FT_Span *spans, PWorker worker) |
| static void | gray_hline (RAS_ARG_ TCoord x, TCoord y, TPos area, TCoord acount) |
| static void | gray_sweep (RAS_ARG_ const FT_Bitmap *target) |
| | FT_DEFINE_OUTLINE_FUNCS (func_interface,(FT_Outline_MoveTo_Func) gray_move_to,(FT_Outline_LineTo_Func) gray_line_to,(FT_Outline_ConicTo_Func) gray_conic_to,(FT_Outline_CubicTo_Func) gray_cubic_to, 0, 0) static int gray_convert_glyph_inner(RAS_ARG) |
| static int | gray_convert_glyph (RAS_ARG) |
| static int | gray_raster_render (PRaster raster, const FT_Raster_Params *params) |
| static int | gray_raster_new (FT_Memory memory, FT_Raster *araster) |
| static void | gray_raster_done (FT_Raster raster) |
| static void | gray_raster_reset (FT_Raster raster, char *pool_base, long pool_size) |