FastLED 3.9.15
Loading...
Searching...
No Matches
stb_truetype.h File Reference
#include "fl/stl/stdint.h"
+ Include dependency graph for stb_truetype.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::third_party::truetype::stbrp_rect
 
struct  fl::third_party::truetype::stbtt__buf
 
struct  fl::third_party::truetype::stbtt_aligned_quad
 
struct  fl::third_party::truetype::stbtt_bakedchar
 
struct  fl::third_party::truetype::stbtt_fontinfo
 
struct  fl::third_party::truetype::stbtt_kerningentry
 
struct  fl::third_party::truetype::stbtt_pack_context
 
struct  fl::third_party::truetype::stbtt_pack_range
 
struct  fl::third_party::truetype::stbtt_packedchar
 
struct  fl::third_party::truetype::stbtt_vertex
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::third_party
 
namespace  fl::third_party::truetype
 

Macros

#define stbtt_vertex_type   short
 

Enumerations

enum  { fl::third_party::truetype::STBTT_vmove =1 , fl::third_party::truetype::STBTT_vline , fl::third_party::truetype::STBTT_vcurve , fl::third_party::truetype::STBTT_vcubic }
 

Functions

int32_t fl::third_party::truetype::stbtt_BakeFontBitmap (const unsigned char *data, int32_t offset, float pixel_height, unsigned char *pixels, int32_t pw, int32_t ph, int32_t first_char, int32_t num_chars, stbtt_bakedchar *chardata) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_CompareUTF8toUTF16_bigendian (const char *s1, int32_t len1, const char *s2, int32_t len2) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_FindGlyphIndex (const stbtt_fontinfo *info, int32_t unicode_codepoint) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_FindMatchingFont (const unsigned char *fontdata, const char *name, int32_t flags) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_FindSVGDoc (const stbtt_fontinfo *info, int32_t gl) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_FreeBitmap (unsigned char *bitmap, void *userdata) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_FreeSDF (unsigned char *bitmap, void *userdata) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_FreeShape (const stbtt_fontinfo *info, stbtt_vertex *vertices) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetBakedQuad (const stbtt_bakedchar *chardata, int32_t pw, int32_t ph, int32_t char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int32_t opengl_fillrule) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetCodepointBitmap (const stbtt_fontinfo *info, float scale_x, float scale_y, int32_t codepoint, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetCodepointBitmapBox (const stbtt_fontinfo *font, int32_t codepoint, float scale_x, float scale_y, int32_t *ix0, int32_t *iy0, int32_t *ix1, int32_t *iy1) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetCodepointBitmapBoxSubpixel (const stbtt_fontinfo *font, int32_t codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int32_t *ix0, int32_t *iy0, int32_t *ix1, int32_t *iy1) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetCodepointBitmapSubpixel (const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int32_t codepoint, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetCodepointBox (const stbtt_fontinfo *info, int32_t codepoint, int32_t *x0, int32_t *y0, int32_t *x1, int32_t *y1) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetCodepointHMetrics (const stbtt_fontinfo *info, int32_t codepoint, int32_t *advanceWidth, int32_t *leftSideBearing) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetCodepointKernAdvance (const stbtt_fontinfo *info, int32_t ch1, int32_t ch2) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetCodepointSDF (const stbtt_fontinfo *info, float scale, int32_t codepoint, int32_t padding, unsigned char onedge_value, float pixel_dist_scale, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetCodepointShape (const stbtt_fontinfo *info, int32_t unicode_codepoint, stbtt_vertex **vertices) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetCodepointSVG (const stbtt_fontinfo *info, int32_t unicode_codepoint, const char **svg) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetFontBoundingBox (const stbtt_fontinfo *info, int32_t *x0, int32_t *y0, int32_t *x1, int32_t *y1) FL_NOEXCEPT
 
const char * fl::third_party::truetype::stbtt_GetFontNameString (const stbtt_fontinfo *font, int32_t *length, int32_t platformID, int32_t encodingID, int32_t languageID, int32_t nameID) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetFontOffsetForIndex (const unsigned char *data, int32_t index) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetFontVMetrics (const stbtt_fontinfo *info, int32_t *ascent, int32_t *descent, int32_t *lineGap) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetFontVMetricsOS2 (const stbtt_fontinfo *info, int32_t *typoAscent, int32_t *typoDescent, int32_t *typoLineGap) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetGlyphBitmap (const stbtt_fontinfo *info, float scale_x, float scale_y, int32_t glyph, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetGlyphBitmapBox (const stbtt_fontinfo *font, int32_t glyph, float scale_x, float scale_y, int32_t *ix0, int32_t *iy0, int32_t *ix1, int32_t *iy1) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetGlyphBitmapBoxSubpixel (const stbtt_fontinfo *font, int32_t glyph, float scale_x, float scale_y, float shift_x, float shift_y, int32_t *ix0, int32_t *iy0, int32_t *ix1, int32_t *iy1) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetGlyphBitmapSubpixel (const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int32_t glyph, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetGlyphBox (const stbtt_fontinfo *info, int32_t glyph_index, int32_t *x0, int32_t *y0, int32_t *x1, int32_t *y1) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetGlyphHMetrics (const stbtt_fontinfo *info, int32_t glyph_index, int32_t *advanceWidth, int32_t *leftSideBearing) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetGlyphKernAdvance (const stbtt_fontinfo *info, int32_t glyph1, int32_t glyph2) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_GetGlyphSDF (const stbtt_fontinfo *info, float scale, int32_t glyph, int32_t padding, unsigned char onedge_value, float pixel_dist_scale, int32_t *width, int32_t *height, int32_t *xoff, int32_t *yoff) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetGlyphShape (const stbtt_fontinfo *info, int32_t glyph_index, stbtt_vertex **vertices) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetGlyphSVG (const stbtt_fontinfo *info, int32_t gl, const char **svg) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetKerningTable (const stbtt_fontinfo *info, stbtt_kerningentry *table, int32_t table_length) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetKerningTableLength (const stbtt_fontinfo *info) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_GetNumberOfFonts (const unsigned char *data) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetPackedQuad (const stbtt_packedchar *chardata, int32_t pw, int32_t ph, int32_t char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int32_t align_to_integer) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_GetScaledFontVMetrics (const unsigned char *fontdata, int32_t index, float size, float *ascent, float *descent, float *lineGap) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_InitFont (stbtt_fontinfo *info, const unsigned char *data, int32_t offset) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_IsGlyphEmpty (const stbtt_fontinfo *info, int32_t glyph_index) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeCodepointBitmap (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, int32_t codepoint) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeCodepointBitmapSubpixel (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int32_t codepoint) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeCodepointBitmapSubpixelPrefilter (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int32_t oversample_x, int32_t oversample_y, float *sub_x, float *sub_y, int32_t codepoint) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeGlyphBitmap (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, int32_t glyph) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeGlyphBitmapSubpixel (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int32_t glyph) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_MakeGlyphBitmapSubpixelPrefilter (const stbtt_fontinfo *info, unsigned char *output, int32_t out_w, int32_t out_h, int32_t out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int32_t oversample_x, int32_t oversample_y, float *sub_x, float *sub_y, int32_t glyph) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_PackBegin (stbtt_pack_context *spc, unsigned char *pixels, int32_t width, int32_t height, int32_t stride_in_bytes, int32_t padding, void *alloc_context) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_PackEnd (stbtt_pack_context *spc) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_PackFontRange (stbtt_pack_context *spc, const unsigned char *fontdata, int32_t font_index, float font_size, int32_t first_unicode_char_in_range, int32_t num_chars_in_range, stbtt_packedchar *chardata_for_range) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_PackFontRanges (stbtt_pack_context *spc, const unsigned char *fontdata, int32_t font_index, stbtt_pack_range *ranges, int32_t num_ranges) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_PackFontRangesGatherRects (stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int32_t num_ranges, stbrp_rect *rects) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_PackFontRangesPackRects (stbtt_pack_context *spc, stbrp_rect *rects, int32_t num_rects) FL_NOEXCEPT
 
int32_t fl::third_party::truetype::stbtt_PackFontRangesRenderIntoRects (stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int32_t num_ranges, stbrp_rect *rects) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_PackSetOversampling (stbtt_pack_context *spc, uint32_t h_oversample, uint32_t v_oversample) FL_NOEXCEPT
 
void fl::third_party::truetype::stbtt_PackSetSkipMissingCodepoints (stbtt_pack_context *spc, int32_t skip) FL_NOEXCEPT
 
float fl::third_party::truetype::stbtt_ScaleForMappingEmToPixels (const stbtt_fontinfo *info, float pixels) FL_NOEXCEPT
 
float fl::third_party::truetype::stbtt_ScaleForPixelHeight (const stbtt_fontinfo *info, float pixels) FL_NOEXCEPT
 

Class Documentation

◆ fl::third_party::truetype::stbrp_rect

struct fl::third_party::truetype::stbrp_rect
Class Members
int32_t h
int32_t id
int32_t w
int32_t was_packed
stbrp_coord x
stbrp_coord y

◆ fl::third_party::truetype::stbtt__buf

struct fl::third_party::truetype::stbtt__buf
Class Members
int32_t cursor
unsigned char * data
int32_t size

◆ fl::third_party::truetype::stbtt_aligned_quad

struct fl::third_party::truetype::stbtt_aligned_quad
Class Members
float s0
float s1
float t0
float t1
float x0
float x1
float y0
float y1

◆ fl::third_party::truetype::stbtt_bakedchar

struct fl::third_party::truetype::stbtt_bakedchar
Class Members
unsigned short x0
unsigned short x1
float xadvance
float xoff
unsigned short y0
unsigned short y1
float yoff

◆ fl::third_party::truetype::stbtt_fontinfo

struct fl::third_party::truetype::stbtt_fontinfo
+ Collaboration diagram for fl::third_party::truetype::stbtt_fontinfo:
Class Members
stbtt__buf cff
stbtt__buf charstrings
unsigned char * data
stbtt__buf fdselect
stbtt__buf fontdicts
int32_t fontstart
int32_t glyf
int32_t gpos
stbtt__buf gsubrs
int32_t head
int32_t hhea
int32_t hmtx
int32_t index_map
int32_t indexToLocFormat
int32_t kern
int32_t loca
int32_t numGlyphs
stbtt__buf subrs
int32_t svg
void * userdata

◆ fl::third_party::truetype::stbtt_kerningentry

struct fl::third_party::truetype::stbtt_kerningentry
Class Members
int32_t advance
int32_t glyph1
int32_t glyph2

◆ fl::third_party::truetype::stbtt_pack_context

struct fl::third_party::truetype::stbtt_pack_context
Class Members
uint32_t h_oversample
int32_t height
void * nodes
void * pack_info
int32_t padding
unsigned char * pixels
int32_t skip_missing
int32_t stride_in_bytes
void * user_allocator_context
uint32_t v_oversample
int32_t width

◆ fl::third_party::truetype::stbtt_pack_range

struct fl::third_party::truetype::stbtt_pack_range
+ Collaboration diagram for fl::third_party::truetype::stbtt_pack_range:
Class Members
int32_t * array_of_unicode_codepoints
stbtt_packedchar * chardata_for_range
int32_t first_unicode_codepoint_in_range
float font_size
unsigned char h_oversample
int32_t num_chars
unsigned char v_oversample

◆ fl::third_party::truetype::stbtt_packedchar

struct fl::third_party::truetype::stbtt_packedchar
Class Members
unsigned short x0
unsigned short x1
float xadvance
float xoff
float xoff2
unsigned short y0
unsigned short y1
float yoff
float yoff2

◆ fl::third_party::truetype::stbtt_vertex

struct fl::third_party::truetype::stbtt_vertex
Class Members
stbtt_vertex_type cx
stbtt_vertex_type cx1
stbtt_vertex_type cy
stbtt_vertex_type cy1
unsigned char padding
unsigned char type
stbtt_vertex_type x
stbtt_vertex_type y