freetype.bl

FreeType.Bool

Bool :: C.uchar

File: freetype.bl

FreeType.FWord

FWord :: C.short

File: freetype.bl

FreeType.UFWord

UFWord :: C.ushort

File: freetype.bl

FreeType.Char

Char :: C.char

File: freetype.bl

FreeType.Byte

Byte :: C.uchar

File: freetype.bl

FreeType.Bytes

Bytes :: *Byte

File: freetype.bl

FreeType.Tag

Tag :: u32

File: freetype.bl

FreeType.String

String :: C.char

File: freetype.bl

FreeType.Short

Short :: C.short

File: freetype.bl

FreeType.UShort

UShort :: C.ushort

File: freetype.bl

FreeType.Int

Int :: C.int

File: freetype.bl

FreeType.UInt

UInt :: C.uint

File: freetype.bl

FreeType.Long

Long :: C.long

File: freetype.bl

FreeType.ULong

ULong :: C.ulong

File: freetype.bl

FreeType.Int32

Int32 :: s32

File: freetype.bl

FreeType.F2Dot14

F2Dot14 :: C.short

File: freetype.bl

FreeType.F26Dot6

F26Dot6 :: C.long

File: freetype.bl

FreeType.Fixed

Fixed :: C.long

File: freetype.bl

FreeType.Error

Error :: C.int

File: freetype.bl

FreeType.Pointer

Pointer :: *u8

File: freetype.bl

FreeType.Offset

Offset :: usize

File: freetype.bl

FreeType.PtrDist

PtrDist :: s64

File: freetype.bl

FreeType.Pos

Pos :: C.long

File: freetype.bl

FreeType.LOAD_DEFAULT

LOAD_DEFAULT :: 0

File: freetype.bl

FreeType.LOAD_NO_SCALE

LOAD_NO_SCALE :: 

File: freetype.bl

FreeType.LOAD_NO_HINTING

LOAD_NO_HINTING :: 

File: freetype.bl

FreeType.LOAD_RENDER

LOAD_RENDER :: 

File: freetype.bl

FreeType.LOAD_NO_BITMAP

LOAD_NO_BITMAP :: 

File: freetype.bl

FreeType.LOAD_VERTICAL_LAYOUT

LOAD_VERTICAL_LAYOUT :: 

File: freetype.bl

FreeType.LOAD_FORCE_AUTOHINT

LOAD_FORCE_AUTOHINT :: 

File: freetype.bl

FreeType.LOAD_CROP_BITMAP

LOAD_CROP_BITMAP :: 

File: freetype.bl

FreeType.LOAD_PEDANTIC

LOAD_PEDANTIC :: 

File: freetype.bl

FreeType.LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH

LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH :: 

File: freetype.bl

FreeType.LOAD_NO_RECURSE

LOAD_NO_RECURSE :: 

File: freetype.bl

FreeType.LOAD_IGNORE_TRANSFORM

LOAD_IGNORE_TRANSFORM :: 

File: freetype.bl

FreeType.LOAD_MONOCHROME

LOAD_MONOCHROME :: 

File: freetype.bl

FreeType.LOAD_LINEAR_DESIGN

LOAD_LINEAR_DESIGN :: 

File: freetype.bl

FreeType.LOAD_NO_AUTOHINT

LOAD_NO_AUTOHINT :: 

File: freetype.bl

FreeType.LOAD_COLOR

LOAD_COLOR :: 

File: freetype.bl

FreeType.LOAD_COMPUTE_METRICS

LOAD_COMPUTE_METRICS :: 

File: freetype.bl

FreeType.LOAD_BITMAP_METRICS_ONLY

LOAD_BITMAP_METRICS_ONLY :: 

File: freetype.bl

FreeType.LOAD_ADVANCE_ONLY

LOAD_ADVANCE_ONLY :: 

File: freetype.bl

FreeType.LOAD_SBITS_ONLY

LOAD_SBITS_ONLY :: 

File: freetype.bl

FreeType.FACE_FLAG_SCALABLE

FACE_FLAG_SCALABLE :: 

File: freetype.bl

FreeType.FACE_FLAG_FIXED_SIZES

FACE_FLAG_FIXED_SIZES :: 

File: freetype.bl

FreeType.FACE_FLAG_FIXED_WIDTH

FACE_FLAG_FIXED_WIDTH :: 

File: freetype.bl

FreeType.FACE_FLAG_SFNT

FACE_FLAG_SFNT :: 

File: freetype.bl

FreeType.FACE_FLAG_HORIZONTAL

FACE_FLAG_HORIZONTAL :: 

File: freetype.bl

FreeType.FACE_FLAG_VERTICAL

FACE_FLAG_VERTICAL :: 

File: freetype.bl

FreeType.FACE_FLAG_KERNING

FACE_FLAG_KERNING :: 

File: freetype.bl

FreeType.FACE_FLAG_FAST_GLYPHS

FACE_FLAG_FAST_GLYPHS :: 

File: freetype.bl

FreeType.FACE_FLAG_MULTIPLE_MASTERS

FACE_FLAG_MULTIPLE_MASTERS :: 

File: freetype.bl

FreeType.FACE_FLAG_GLYPH_NAMES

FACE_FLAG_GLYPH_NAMES :: 

File: freetype.bl

FreeType.FACE_FLAG_EXTERNAL_STREAM

FACE_FLAG_EXTERNAL_STREAM :: 

File: freetype.bl

FreeType.FACE_FLAG_HINTER

FACE_FLAG_HINTER :: 

File: freetype.bl

FreeType.FACE_FLAG_CID_KEYED

FACE_FLAG_CID_KEYED :: 

File: freetype.bl

FreeType.FACE_FLAG_TRICKY

FACE_FLAG_TRICKY :: 

File: freetype.bl

FreeType.FACE_FLAG_COLOR

FACE_FLAG_COLOR :: 

File: freetype.bl

FreeType.FACE_FLAG_VARIATION

FACE_FLAG_VARIATION :: 

File: freetype.bl

FreeType.HINTING_FREETYPE

HINTING_FREETYPE :: 0

File: freetype.bl

FreeType.HINTING_ADOBE

HINTING_ADOBE :: 1

File: freetype.bl

FreeType.LOAD_TARGET_NORMAL

LOAD_TARGET_NORMAL :: 

File: freetype.bl

FreeType.LOAD_TARGET_LIGHT

LOAD_TARGET_LIGHT :: 

File: freetype.bl

FreeType.LOAD_TARGET_MONO

LOAD_TARGET_MONO :: 

File: freetype.bl

FreeType.LOAD_TARGET_LCD

LOAD_TARGET_LCD :: 

File: freetype.bl

FreeType.LOAD_TARGET_LCD_V

LOAD_TARGET_LCD_V :: 

File: freetype.bl

FreeType.Encoding

Encoding :: enum {
    ENCODING_NONE = 0;
    ENCODING_MS_SYMBOL = 1;
    ENCODING_UNICODE = 2;
    ENCODING_SJIS = 3;
    ENCODING_PRC = 4;
    ENCODING_BIG5 = 5;
    ENCODING_WANSUNG = 6;
    ENCODING_JOHAB = 7;
    ENCODING_GB2312 = 4;
    ENCODING_MS_SJIS = 3;
    ENCODING_MS_GB2312 = 4;
    ENCODING_MS_BIG5 = 5;
    ENCODING_MS_WANSUNG = 6;
    ENCODING_MS_JOHAB = 7;
    ENCODING_ADOBE_STANDARD = 8;
    ENCODING_ADOBE_EXPERT = 9;
    ENCODING_ADOBE_CUSTOM = 10;
    ENCODING_ADOBE_LATIN_1 = 11;
    ENCODING_OLD_LATIN_2 = 12;
    ENCODING_APPLE_ROMAN = 13;
}

File: freetype.bl

FreeType.Glyph_Format

Glyph_Format :: enum {
    GLYPH_FORMAT_NONE = 0;
    GLYPH_FORMAT_COMPOSITE = 1668246896;
    GLYPH_FORMAT_BITMAP = 1651078259;
    GLYPH_FORMAT_OUTLINE = 1869968492;
    GLYPH_FORMAT_PLOTTER = 1886154612;
}

File: freetype.bl

FreeType.Size_Request_Type_

Size_Request_Type_ :: enum {
    SIZE_REQUEST_TYPE_NOMINAL;
    SIZE_REQUEST_TYPE_REAL_DIM = 1;
    SIZE_REQUEST_TYPE_BBOX = 2;
    SIZE_REQUEST_TYPE_CELL = 3;
    SIZE_REQUEST_TYPE_SCALES = 4;
    SIZE_REQUEST_TYPE_MAX = 5;
}

File: freetype.bl

FreeType.Render_Mode

Render_Mode :: s32

File: freetype.bl

FreeType.RENDER_MODE_NORMAL

RENDER_MODE_NORMAL :: 0

File: freetype.bl

FreeType.RENDER_MODE_LIGHT

RENDER_MODE_LIGHT :: 1

File: freetype.bl

FreeType.RENDER_MODE_MONO

RENDER_MODE_MONO :: 2

File: freetype.bl

FreeType.RENDER_MODE_LCD

RENDER_MODE_LCD :: 3

File: freetype.bl

FreeType.RENDER_MODE_LCD_V

RENDER_MODE_LCD_V :: 4

File: freetype.bl

FreeType.RENDER_MODE_MAX

RENDER_MODE_MAX :: 5

File: freetype.bl

FreeType.Kerning_Mode_

Kerning_Mode_ :: enum {
    KERNING_DEFAULT = 0;
    KERNING_UNFITTED = 1;
    KERNING_UNSCALED = 2;
}

File: freetype.bl

FreeType.Library

Library :: *u8

File: freetype.bl

FreeType.Size

Size :: *u8

File: freetype.bl

FreeType.Driver

Driver :: *u8

File: freetype.bl

FreeType.Memory

Memory :: *u8

File: freetype.bl

FreeType.Stream

Stream :: *u8

File: freetype.bl

FreeType.Face_Internal

Face_Internal :: *u8

File: freetype.bl

FreeType.SubGlyph

SubGlyph :: *u8

File: freetype.bl

FreeType.Slot_Internal

Slot_Internal :: *u8

File: freetype.bl

FreeType.Color

Color :: struct {
    blue: Byte;
    green: Byte;
    red: Byte;
    alpha: Byte;
}

File: freetype.bl

FreeType.Face

Face :: struct {
    num_faces: Long;
    face_index: Long;
    face_flags: Long;
    style_flags: Long;
    num_glyphs: Long;
    family_name: *String;
    style_name: *String;
    num_fixed_sizes: Int;
    available_sizes: *Bitmap_Size;
    num_charmaps: Int;
    charmaps: **CharMap;
    generic: Generic;
    bbox: BBox;
    units_per_EM: UShort;
    ascender: Short;
    descender: Short;
    height: Short;
    max_advance_width: Short;
    max_advance_height: Short;
    underline_position: Short;
    underline_thickness: Short;
    glyph: *GlyphSlot;
    size: Size;
    charmap: *CharMap;
    driver: Driver;
    memory: Memory;
    stream: Stream;
    sizes_list: ListRec;
    autohint: Generic;
    extensions: *u8;
    internal: Face_Internal;
}

File: freetype.bl

FreeType.GlyphSlot

GlyphSlot :: struct {
    library: Library;
    face: *Face;
    next: *GlyphSlot;
    glyph_index: UInt;
    generic: Generic;
    metrics: Glyph_Metrics;
    linearHoriAdvance: Fixed;
    linearVertAdvance: Fixed;
    advance: Vector;
    format: Glyph_Format;
    bitmap: Bitmap;
    bitmap_left: Int;
    bitmap_top: Int;
    outline: Outline;
    num_subglyphs: UInt;
    subglyphs: SubGlyph;
    control_data: *u8;
    control_len: s64;
    lsb_delta: Pos;
    rsb_delta: Pos;
    other: *u8;
    internal: Slot_Internal;
}

File: freetype.bl

FreeType.Glyph_Metrics

Glyph_Metrics :: struct {
    width: Pos;
    height: Pos;
    horiBearingX: Pos;
    horiBearingY: Pos;
    horiAdvance: Pos;
    vertBearingX: Pos;
    vertBearingY: Pos;
    vertAdvance: Pos;
}

File: freetype.bl

FreeType.GlyphRec

GlyphRec :: struct {
    library: *Library;
    clazz: *u8;
    format: Glyph_Format;
    advance: Vector;
}

File: freetype.bl

FreeType.Glyph

Glyph :: *GlyphRec

File: freetype.bl

FreeType.ListNode

ListNode :: struct {
    prev: *ListNode;
    next: *ListNode;
    data: *u8;
}

File: freetype.bl

FreeType.ListRec

ListRec :: struct {
    head: *ListNode;
    tail: *ListNode;
}

File: freetype.bl

FreeType.Bitmap_Size

Bitmap_Size :: struct {
    height: Short;
    width: Short;
    size: Pos;
    x_ppem: Pos;
    y_ppem: Pos;
}

File: freetype.bl

FreeType.Bitmap

Bitmap :: struct {
    rows: u32;
    width: u32;
    pitch: s32;
    buffer: *u8;
    num_grays: u16;
    pixel_mode: u8;
    palette_mode: u8;
    palette: *u8;
}

File: freetype.bl

FreeType.Outline

Outline :: struct {
    n_contours: s16;
    n_points: s16;
    points: *Vector;
    tags: *s8;
    contours: *s16;
    flags: s32;
}

File: freetype.bl

FreeType.CharMap

CharMap :: struct {
    face: *Face;
    encoding: Encoding;
    platform_id: UShort;
    encoding_id: UShort;
}

File: freetype.bl

FreeType.Generic

Generic :: struct {
    data: *u8;
    finalizer: *u8;
}

File: freetype.bl

FreeType.Vector

Vector :: struct {
    x: Pos;
    y: Pos;
}

File: freetype.bl

FreeType.BBox

BBox :: struct {
    xMin: Pos;
    yMin: Pos;
    xMax: Pos;
    yMax: Pos;
}

File: freetype.bl

FreeType.Matrix

Matrix :: struct {
    xx: Fixed;
    xy: Fixed;
    yx: Fixed;
    yy: Fixed;
}

File: freetype.bl

FreeType.BitmapGlyphRec

BitmapGlyphRec :: struct {
    root: GlyphRec;
    left: Int;
    top: Int;
    bitmap: Bitmap;
}

File: freetype.bl

FreeType.BitmapGlyph

BitmapGlyph :: *BitmapGlyphRec

File: freetype.bl

FreeType.LcdFilter

LcdFilter :: C.int

File: freetype.bl

FreeType.LCD_FILTER_NONE

LCD_FILTER_NONE :: 0

File: freetype.bl

FreeType.LCD_FILTER_DEFAULT

LCD_FILTER_DEFAULT :: 1

File: freetype.bl

FreeType.LCD_FILTER_LIGHT

LCD_FILTER_LIGHT :: 2

File: freetype.bl

FreeType.LCD_FILTER_LEGACY1

LCD_FILTER_LEGACY1 :: 3

File: freetype.bl

FreeType.LCD_FILTER_LEGACY

LCD_FILTER_LEGACY :: 16

File: freetype.bl

FreeType.Init_FreeType

Init_FreeType :: fn (alibrary: *Library) Error #extern

File: freetype.bl

FreeType.Done_FreeType

Done_FreeType :: fn (library: Library) Error #extern

File: freetype.bl

FreeType.New_Face

New_Face :: fn (library: Library, filepathname: *u8, face_index: Long, aface: **Face) Error #extern

File: freetype.bl

FreeType.New_Memory_Face

New_Memory_Face :: fn (library: Library, file_base: *u8, file_size: Long, face_index: Long, aface: **Face) Error #extern

File: freetype.bl

FreeType.Done_Face

Done_Face :: fn (face: *Face) Error #extern

File: freetype.bl

FreeType.Set_Pixel_Sizes

Set_Pixel_Sizes :: fn (face: *Face, pixel_width: UInt, pixel_height: UInt) Error #extern

File: freetype.bl

FreeType.Load_Char

Load_Char :: fn (face: *Face, char_code: ULong, load_flags: Int32) Error #extern

File: freetype.bl

FreeType.Library_SetLcdFilter

Library_SetLcdFilter :: fn (library: Library, filter: LcdFilter) Error #extern

File: freetype.bl

FreeType.Render_Glyph

Render_Glyph :: fn (slot: *GlyphSlot, render_mode: Render_Mode) Error #extern

File: freetype.bl

FreeType.Get_Char_Index

Get_Char_Index :: fn (face: *Face, charcode: ULong) Error #extern

File: freetype.bl

FreeType.Load_Glyph

Load_Glyph :: fn (face: *Face, glyph_index: UInt, load_flags: Int32) Error #extern

File: freetype.bl

FreeType.Bitmap_Convert

Bitmap_Convert :: fn (library: Library, source: *Bitmap, target: *Bitmap, alignment: Int) Error #extern

File: freetype.bl

FreeType.Bitmap_Init

Bitmap_Init :: fn (abitmap: *Bitmap)  #extern

File: freetype.bl

FreeType.Palette_Set_Foreground_Color

Palette_Set_Foreground_Color :: fn (face: *Face, foreground_color: Color) Error #extern

File: freetype.bl

FreeType.Library_SetLcdFilterWeights

Library_SetLcdFilterWeights :: fn (library: Library, weights: *C.uchar) Error #extern

File: freetype.bl

FreeType.Glyph_To_Bitmap

Glyph_To_Bitmap :: fn (glyph: *Glyph, render_mode: Render_Mode, origin: *Vector, destroy: Bool) Error #extern

File: freetype.bl

FreeType.Get_Glyph

Get_Glyph :: fn (slot: *GlyphSlot, aglyph: *Glyph) Error #extern

File: freetype.bl

FreeType.Set_Transform

Set_Transform :: fn (face: *Face, matrix: *Matrix, delta: *Vector)  #extern

File: freetype.bl

FreeType.Set_Char_Size

Set_Char_Size :: fn (face: *Face, char_width: F26Dot6, char_height: F26Dot6, horz_resolution: UInt, vert_resolution: UInt) Error #extern

File: freetype.bl

FreeType.Property_Set

Property_Set :: fn (library: Library, module_name: *String, property_name: *String, value: *u8) Error #extern

File: freetype.bl

FreeType.Select_Charmap

Select_Charmap :: fn (face: *Face, encoding: UInt) Error #extern

File: freetype.bl

FreeType.ENCODING_UNICODE

ENCODING_UNICODE :: 

File: freetype.bl

FreeType.ENC_TAG

ENC_TAG :: fn (a: u8, b: u8, c: u8, d: u8) UInt

File: freetype.bl