Sign in Join
FPDoc Onlineexperiment

TTRaster unit

Implements the glyph rasterizer for the FreeType library.

Copyright 1996 David Turner, Robert Wilhelm and Werner Lemberg.

TTRaster.pas is part of the FreeType project, and may only be used modified and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify or distribute this file you indicate that you have read the license and understand and accept it fully.

This version supports the following:

  • direct grayscaling
  • sub-banding
  • drop-out modes 4 and 5
  • second pass for complete drop-out control (bitmap only)
  • variable precision

Re-entrancy is _not_ planned.

Changes between 1.1 and 1.2:

  • no more trace tables, now uses linked list to sort coordinates
  • reduced code size using function dispatch within a generic draw_sweep function
  • added variable precision for finer rendering at small ppems
The interface in the unit may change in the future.

Classes and records

TFreeTypeRasterizerclass

Procedures and functions

IncludeFullGrainMaxfunction
IncludeFullGrainMinfunction
TTGetDefaultRasterizerfunction
TTRaster_Doneprocedure
TTRaster_Initfunction

Types

Function_Sweep_Initprocedure type
Function_Sweep_Spanprocedure type
Function_Sweep_Stepprocedure type

Uses

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.