SWAG

Table of Contents

Structs

Enums

Constants

Type Aliases

Functions

Module freetype

Content

const FreeType.Constants [src]

FT_LOAD_ADVANCE_ONLY s32
FT_LOAD_BITMAP_METRICS_ONLY s32
FT_LOAD_COLOR s32
FT_LOAD_COMPUTE_METRICS s32
FT_LOAD_CROP_BITMAP s32
FT_LOAD_DEFAULT u32
FT_LOAD_FORCE_AUTOHINT s32
FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH s32
FT_LOAD_IGNORE_TRANSFORM s32
FT_LOAD_LINEAR_DESIGN s32
FT_LOAD_MONOCHROME s32
FT_LOAD_NO_AUTOHINT s32
FT_LOAD_NO_BITMAP s32
FT_LOAD_NO_HINTING s32
FT_LOAD_NO_RECURSE s32
FT_LOAD_NO_SCALE s32
FT_LOAD_PEDANTIC s32
FT_LOAD_RENDER s32
FT_LOAD_SBITS_ONLY s32
FT_LOAD_TARGET_LCD s32
FT_LOAD_TARGET_LCD_V s32
FT_LOAD_TARGET_LIGHT s32
FT_LOAD_TARGET_MONO s32
FT_LOAD_TARGET_NORMAL s32
FT_LOAD_VERTICAL_LAYOUT s32
FT_MAX_MODULES s32
FT_STYLE_FLAG_BOLD s32
FT_STYLE_FLAG_ITALIC s32

type alias FreeType.Type Aliases [src]

FT_Byte FT_Byte
FT_CharMap FT_CharMap
FT_DebugHook_Func FT_DebugHook_Func
FT_Driver FT_Driver
FT_Error FT_Error
FT_Face FT_Face
FT_Face_Internal FT_Face_Internal
FT_Fixed FT_Fixed
FT_GlyphSlot FT_GlyphSlot
FT_Int FT_Int
FT_Int32 FT_Int32
FT_Library FT_Library
FT_ListNode FT_ListNode
FT_Long FT_Long
FT_Memory FT_Memory
FT_Module FT_Module
FT_Pos FT_Pos
FT_Renderer FT_Renderer
FT_Short FT_Short
FT_Size FT_Size
FT_Size_Internal FT_Size_Internal
FT_Slot_Internal FT_Slot_Internal
FT_Stream FT_Stream
FT_String FT_String
FT_SubGlyph FT_SubGlyph
FT_UInt FT_UInt
FT_ULong FT_ULong
FT_UShort FT_UShort

struct FreeType.FT_BBox [src]

xMin FT_Pos
yMin FT_Pos
xMax FT_Pos
yMax FT_Pos

struct FreeType.FT_Bitmap [src]

rows u32
width u32
pitch s32
buffer ^u8
num_grays u16
pixel_mode u8
palette_mode u8
palette ^void

struct FreeType.FT_Bitmap_Size [src]

height FT_Short
width FT_Short
size FT_Pos
x_ppem FT_Pos
y_ppem FT_Pos

struct FreeType.FT_CharMapRec [src]

face FT_Face
encoding u32 FT_Encoding.
platform_id FT_UShort
encoding_id FT_UShort

func FreeType.FT_Done_Face [src]

func FT_Done_Face(face: FT_Face)

func FreeType.FT_Done_FreeType [src]

func FT_Done_FreeType(alibrary: FT_Library) throw

struct FreeType.FT_FaceRec [src]

num_faces FT_Long
face_index FT_Long
face_flags FT_Long
style_flags FT_Long
num_glyphs FT_Long
family_name ^FT_String
style_name ^FT_String
num_fixed_sizes FT_Int
available_sizes ^FT_Bitmap_Size
num_charmaps FT_Int
charmaps ^FT_CharMap
generic FT_Generic
bbox FT_BBox
units_per_EM FT_UShort
ascender FT_Short
descender FT_Short
height FT_Short
max_advance_width FT_Short
max_advance_height FT_Short
underline_position FT_Short
underline_thickness FT_Short
glyph FT_GlyphSlot
size FT_Size
charmap FT_CharMap
driver FT_Driver
memory FT_Memory
stream FT_Stream
sizes_list FT_ListRec
autohint FT_Generic
extensions ^void
finternal FT_Face_Internal

struct FreeType.FT_Generic [src]

data *void
finalizer *void FT_Generic_Finalizer.

func FreeType.FT_Get_Char_Index [src]

func FT_Get_Char_Index(face: FT_Face, charcode: FT_ULong)->FT_UInt

struct FreeType.FT_GlyphSlotRec [src]

library FT_Library
face FT_Face
next FT_GlyphSlot
glyph_index FT_UInt
generic FT_Generic
metrics FT_Glyph_Metrics
linearHoriAdvance FT_Fixed
linearVertAdvance FT_Fixed
advance FT_Vector
format FT_Glyph_Format
bitmap FT_Bitmap
bitmap_left FT_Int
bitmap_top FT_Int
outline FT_Outline
num_subglyphs FT_UInt
subglyphs FT_SubGlyph
control_data *void
control_len s32
lsb_delta FT_Pos
rsb_delta FT_Pos
other *void
finternal FT_Slot_Internal

func FreeType.FT_GlyphSlot_Oblique [src]

func FT_GlyphSlot_Oblique(slot: FT_GlyphSlot)

enum FreeType.FT_Glyph_Format [src]

FT_GLYPH_FORMAT_NONE
FT_GLYPH_FORMAT_COMPOSITE
FT_GLYPH_FORMAT_BITMAP
FT_GLYPH_FORMAT_OUTLINE
FT_GLYPH_FORMAT_POLTTER

struct FreeType.FT_Glyph_Metrics [src]

width FT_Pos
height FT_Pos
horiBearingX FT_Pos
horiBearingY FT_Pos
horiAdvance FT_Pos
vertBearingX FT_Pos
vertBearingY FT_Pos
vertAdvance FT_Pos

func FreeType.FT_IMAGE_TAG [src]

func FT_IMAGE_TAG(x1, x2, x3, x4: u32)->u32

func FreeType.FT_Init_FreeType [src]

func FT_Init_FreeType(alibrary: *FT_Library) throw

func FreeType.FT_LOAD_TARGET [src]

func FT_LOAD_TARGET(x: FT_Int32)->s32

enum FreeType.FT_LcdFilter [src]

FT_LCD_FILTER_NONE
FT_LCD_FILTER_DEFAULT
FT_LCD_FILTER_LIGHT
FT_LCD_FILTER_LEGACY1
FT_LCD_FILTER_LEGACY
FT_LCD_FILTER_MAX

struct FreeType.FT_LibraryRec [src]

memory FT_Memory
version_major FT_Int
version_minor FT_Int
version_patch FT_Int
num_modules FT_UInt
modules [32] FT_Module
renderers FT_ListRec
cur_renderer FT_Renderer
auto_hinter FT_Module
debug_hooks [4] FT_DebugHook_Func
lcd_geometry [3] FT_Vector
refcount FT_Int

func FreeType.FT_Library_SetLcdFilter [src]

func FT_Library_SetLcdFilter(library: FT_Library, filter: FT_LcdFilter) throw

func FreeType.FT_Library_SetLcdFilterWeights [src]

func FT_Library_SetLcdFilterWeights(library: FT_Library, weights: const *u8) throw

struct FreeType.FT_ListRec [src]

head FT_ListNode
tail FT_ListNode

func FreeType.FT_Load_Char [src]

func FT_Load_Char(face: FT_Face, char_code: FT_ULong, load_flags: FT_Int32) throw

func FreeType.FT_Load_Glyph [src]

func FT_Load_Glyph(face: FT_Face, glyph_index: FT_UInt, load_flags: FT_Int32) throw

struct FreeType.FT_Matrix [src]

xx FT_Fixed
xy FT_Fixed
yx FT_Fixed
yy FT_Fixed

func FreeType.FT_New_Memory_Face [src]

func FT_New_Memory_Face(library: FT_Library, file_base: const *FT_Byte, file_size: FT_Long, face_index: FT_Long, aface: *FT_Face) throw

struct FreeType.FT_Outline [src]

n_contours s16
n_points s16
points ^FT_Vector
tags ^u8
contours ^s16
flags s32

func FreeType.FT_Outline_Decompose [src]

func FT_Outline_Decompose(outline: *FT_Outline, func_interface: const *FT_Outline_Funcs, user: *void) throw

func FreeType.FT_Outline_Embolden [src]

func FT_Outline_Embolden(outline: *FT_Outline, strength: FT_Pos) throw

struct FreeType.FT_Outline_Funcs [src]

move_to *void FT_Outline_MoveToFunc.
line_to *void FT_Outline_LineToFunc.
conic_to *void FT_Outline_ConicToFunc.
cubic_to *void FT_Outline_CubicToFunc.
shift s32
delta FT_Pos

func FreeType.FT_Outline_Transform [src]

func FT_Outline_Transform(outline: const *FT_Outline, matrix: const *FT_Matrix)

func FreeType.FT_Outline_Translate [src]

func FT_Outline_Translate(outline: const *FT_Outline, xOffset, yOffset: FT_Pos)

enum FreeType.FT_Pixel_Mode [src]

FT_PIXEL_MODE_NONE
FT_PIXEL_MODE_MONO
FT_PIXEL_MODE_GRAY
FT_PIXEL_MODE_GRAY2
FT_PIXEL_MODE_GRAY4
FT_PIXEL_MODE_LCD
FT_PIXEL_MODE_LCD_V
FT_PIXEL_MODE_BGRA
FT_PIXEL_MODE_MAX

func FreeType.FT_Render_Glyph [src]

func FT_Render_Glyph(slot: FT_GlyphSlot, render_mode: FT_Render_Mode) throw

enum FreeType.FT_Render_Mode [src]

FT_RENDER_MODE_NORMAL
FT_RENDER_MODE_LIGHT
FT_RENDER_MODE_MONO
FT_RENDER_MODE_LCD
FT_RENDER_MODE_LCD_V
FT_RENDER_MODE_MAX

func FreeType.FT_Set_Pixel_Sizes [src]

func FT_Set_Pixel_Sizes(face: FT_Face, pixel_width, pixel_height: FT_UInt) throw

struct FreeType.FT_SizeRec [src]

face FT_Face
generic FT_Generic
metrics FT_Size_Metrics
sinternal FT_Size_Internal

struct FreeType.FT_Size_Metrics [src]

x_ppem FT_UShort
y_ppem FT_UShort
x_scale FT_Fixed
y_scale FT_Fixed
ascender FT_Pos
descender FT_Pos
height FT_Pos
max_advance FT_Pos

struct FreeType.FT_SubGlyphRec [src]

index FT_Int
flags FT_UShort
arg1 FT_Int
arg2 FT_Int
transform FT_Matrix

struct FreeType.FT_Vector [src]

x FT_Pos
y FT_Pos
Generated on 08-09-2024 with swag 0.40.0