FastLED 3.9.15
Loading...
Searching...
No Matches
stb_truetype.cpp.hpp File Reference
#include "fl/stl/stdint.h"
#include "fl/stl/malloc.h"
#include "fl/math/math.h"
#include "fl/stl/cstring.h"
#include "fl/stl/assert.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for stb_truetype.cpp.hpp:
+ 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_context
 
struct  fl::third_party::truetype::stbrp_node
 
struct  fl::third_party::truetype::stbrp_rect
 
struct  fl::third_party::truetype::stbtt__active_edge
 
struct  fl::third_party::truetype::stbtt__bitmap
 
struct  fl::third_party::truetype::stbtt__buf
 
struct  fl::third_party::truetype::stbtt__csctx
 
struct  fl::third_party::truetype::stbtt__edge
 
struct  fl::third_party::truetype::stbtt__hheap
 
struct  fl::third_party::truetype::stbtt__hheap_chunk
 
struct  fl::third_party::truetype::stbtt__point
 
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 __STB_INCLUDE_STB_TRUETYPE_H__
 
#define STB_TRUETYPE_IMPLEMENTATION
 
#define stbtt__buf_get16(b)
 
#define stbtt__buf_get32(b)
 
#define STBTT__COMPARE(a, b)
 
#define STBTT__CSCTX_INIT(bounds)
 
#define STBTT__CSERR(s)
 
#define STBTT__NOTUSED(v)
 
#define STBTT__OVER_MASK   (STBTT_MAX_OVERSAMPLE-1)
 
#define STBTT_acos(x)
 
#define STBTT_assert(x)
 
#define STBTT_CFF_SIZE_LIMIT   (512L*1024L*1024L)
 
#define STBTT_cos(x)
 
#define STBTT_fabs(x)
 
#define STBTT_fmod(x, y)
 
#define STBTT_free(x, u)
 
#define STBTT_GPOS_TODO_assert(x)
 
#define STBTT_iceil(x)
 
#define STBTT_ifloor(x)
 
#define STBTT_MACSTYLE_BOLD   1
 
#define STBTT_MACSTYLE_DONTCARE   0
 
#define STBTT_MACSTYLE_ITALIC   2
 
#define STBTT_MACSTYLE_NONE   8
 
#define STBTT_MACSTYLE_UNDERSCORE   4
 
#define STBTT_malloc(x, u)
 
#define STBTT_max(a, b)
 
#define STBTT_MAX_OVERSAMPLE   8
 
#define STBTT_memcpy   fl::memcpy
 
#define STBTT_memset   fl::memset
 
#define STBTT_min(a, b)
 
#define STBTT_POINT_SIZE(x)
 
#define STBTT_pow(x, y)
 
#define STBTT_RASTERIZER_VERSION   2
 
#define STBTT_sqrt(x)
 
#define STBTT_strlen(x)
 
#define stbtt_tag(p, str)
 
#define stbtt_tag4(p, c0, c1, c2, c3)
 
#define stbtt_vertex_type   short
 
#define ttBYTE(p)
 
#define ttCHAR(p)
 
#define ttFixed(p)
 

Typedefs

typedef int32_t fl::third_party::truetype::stbrp_coord
 
typedef struct stbrp_rect fl::third_party::truetype::stbrp_rect
 
typedef struct fl::third_party::truetype::stbtt__active_edge fl::third_party::truetype::stbtt__active_edge
 
typedef char fl::third_party::truetype::stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 :-1]
 
typedef char fl::third_party::truetype::stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 :-1]
 
typedef struct fl::third_party::truetype::stbtt__edge fl::third_party::truetype::stbtt__edge
 
typedef struct fl::third_party::truetype::stbtt__hheap fl::third_party::truetype::stbtt__hheap
 
typedef struct fl::third_party::truetype::stbtt__hheap_chunk fl::third_party::truetype::stbtt__hheap_chunk
 
typedef int32_t fl::third_party::truetype::stbtt__test_oversample_pow2[(STBTT_MAX_OVERSAMPLE &(STBTT_MAX_OVERSAMPLE-1))==0 ? 1 :-1]
 
typedef struct stbtt_fontinfo fl::third_party::truetype::stbtt_fontinfo
 
typedef signed short fl::third_party::truetype::stbtt_int16
 
typedef int32_t fl::third_party::truetype::stbtt_int32
 
typedef signed char fl::third_party::truetype::stbtt_int8
 
typedef struct fl::third_party::truetype::stbtt_kerningentry fl::third_party::truetype::stbtt_kerningentry
 
typedef struct stbtt_pack_context fl::third_party::truetype::stbtt_pack_context
 
typedef unsigned short fl::third_party::truetype::stbtt_uint16
 
typedef uint32_t fl::third_party::truetype::stbtt_uint32
 
typedef unsigned char fl::third_party::truetype::stbtt_uint8
 

Enumerations

enum  {
  fl::third_party::truetype::STBTT_MAC_EID_ROMAN =0 , fl::third_party::truetype::STBTT_MAC_EID_ARABIC =4 , fl::third_party::truetype::STBTT_MAC_EID_JAPANESE =1 , fl::third_party::truetype::STBTT_MAC_EID_HEBREW =5 ,
  fl::third_party::truetype::STBTT_MAC_EID_CHINESE_TRAD =2 , fl::third_party::truetype::STBTT_MAC_EID_GREEK =6 , fl::third_party::truetype::STBTT_MAC_EID_KOREAN =3 , fl::third_party::truetype::STBTT_MAC_EID_RUSSIAN =7
}
 
enum  { fl::third_party::truetype::STBTT_PLATFORM_ID_UNICODE =0 , fl::third_party::truetype::STBTT_PLATFORM_ID_MAC =1 , fl::third_party::truetype::STBTT_PLATFORM_ID_ISO =2 , fl::third_party::truetype::STBTT_PLATFORM_ID_MICROSOFT =3 }
 
enum  {
  fl::third_party::truetype::STBTT_MAC_LANG_ENGLISH =0 , fl::third_party::truetype::STBTT_MAC_LANG_JAPANESE =11 , fl::third_party::truetype::STBTT_MAC_LANG_ARABIC =12 , fl::third_party::truetype::STBTT_MAC_LANG_KOREAN =23 ,
  fl::third_party::truetype::STBTT_MAC_LANG_DUTCH =4 , fl::third_party::truetype::STBTT_MAC_LANG_RUSSIAN =32 , fl::third_party::truetype::STBTT_MAC_LANG_FRENCH =1 , fl::third_party::truetype::STBTT_MAC_LANG_SPANISH =6 ,
  fl::third_party::truetype::STBTT_MAC_LANG_GERMAN =2 , fl::third_party::truetype::STBTT_MAC_LANG_SWEDISH =5 , fl::third_party::truetype::STBTT_MAC_LANG_HEBREW =10 , fl::third_party::truetype::STBTT_MAC_LANG_CHINESE_SIMPLIFIED =33 ,
  fl::third_party::truetype::STBTT_MAC_LANG_ITALIAN =3 , fl::third_party::truetype::STBTT_MAC_LANG_CHINESE_TRAD =19
}
 
enum  { fl::third_party::truetype::STBTT_MS_EID_SYMBOL =0 , fl::third_party::truetype::STBTT_MS_EID_UNICODE_BMP =1 , fl::third_party::truetype::STBTT_MS_EID_SHIFTJIS =2 , fl::third_party::truetype::STBTT_MS_EID_UNICODE_FULL =10 }
 
enum  {
  fl::third_party::truetype::STBTT_MS_LANG_ENGLISH =0x0409 , fl::third_party::truetype::STBTT_MS_LANG_ITALIAN =0x0410 , fl::third_party::truetype::STBTT_MS_LANG_CHINESE =0x0804 , fl::third_party::truetype::STBTT_MS_LANG_JAPANESE =0x0411 ,
  fl::third_party::truetype::STBTT_MS_LANG_DUTCH =0x0413 , fl::third_party::truetype::STBTT_MS_LANG_KOREAN =0x0412 , fl::third_party::truetype::STBTT_MS_LANG_FRENCH =0x040c , fl::third_party::truetype::STBTT_MS_LANG_RUSSIAN =0x0419 ,
  fl::third_party::truetype::STBTT_MS_LANG_GERMAN =0x0407 , fl::third_party::truetype::STBTT_MS_LANG_SPANISH =0x0409 , fl::third_party::truetype::STBTT_MS_LANG_HEBREW =0x040d , fl::third_party::truetype::STBTT_MS_LANG_SWEDISH =0x041D
}
 
enum  {
  fl::third_party::truetype::STBTT_UNICODE_EID_UNICODE_1_0 =0 , fl::third_party::truetype::STBTT_UNICODE_EID_UNICODE_1_1 =1 , fl::third_party::truetype::STBTT_UNICODE_EID_ISO_10646 =2 , fl::third_party::truetype::STBTT_UNICODE_EID_UNICODE_2_0_BMP =3 ,
  fl::third_party::truetype::STBTT_UNICODE_EID_UNICODE_2_0_FULL =4
}
 
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

static int32_t fl::third_party::truetype::equal (float *a, float *b) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbrp_init_target (stbrp_context *con, int32_t pw, int32_t ph, stbrp_node *nodes, int32_t num_nodes) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbrp_pack_rects (stbrp_context *con, stbrp_rect *rects, int32_t num_rects) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__add_point (stbtt__point *points, int32_t n, float x, float y) FL_NOEXCEPT
 
static stbtt_uint32 fl::third_party::truetype::stbtt__buf_get (stbtt__buf *b, int32_t n) FL_NOEXCEPT
 
static stbtt_uint8 fl::third_party::truetype::stbtt__buf_get8 (stbtt__buf *b) FL_NOEXCEPT
 
static stbtt_uint8 fl::third_party::truetype::stbtt__buf_peek8 (stbtt__buf *b) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__buf_range (const stbtt__buf *b, int32_t o, int32_t s) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__buf_seek (stbtt__buf *b, int32_t o) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__buf_skip (stbtt__buf *b, int32_t o) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__cff_get_index (stbtt__buf *b) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__cff_index_count (stbtt__buf *b) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__cff_index_get (stbtt__buf b, int32_t i) FL_NOEXCEPT
 
static stbtt_uint32 fl::third_party::truetype::stbtt__cff_int (stbtt__buf *b) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__cff_skip_operand (stbtt__buf *b) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__cid_get_glyph_subrs (const stbtt_fontinfo *info, int32_t glyph_index) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__close_shape (stbtt_vertex *vertices, int32_t num_vertices, int32_t was_off, int32_t start_off, stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy) FL_NOEXCEPT
 
static stbtt_int32 fl::third_party::truetype::stbtt__CompareUTF8toUTF16_bigendian_prefix (stbtt_uint8 *s1, stbtt_int32 len1, stbtt_uint8 *s2, stbtt_int32 len2) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__compute_crossings_x (float x, float y, int32_t nverts, stbtt_vertex *verts) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__csctx_close_shape (stbtt__csctx *ctx) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__csctx_rccurve_to (stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__csctx_rline_to (stbtt__csctx *ctx, float dx, float dy) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__csctx_rmove_to (stbtt__csctx *ctx, float dx, float dy) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__csctx_v (stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1) FL_NOEXCEPT
 
static float fl::third_party::truetype::stbtt__cuberoot (float x) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__dict_get (stbtt__buf *b, int32_t key) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__dict_get_ints (stbtt__buf *b, int32_t key, int32_t outcount, stbtt_uint32 *out) FL_NOEXCEPT
 
static stbtt_uint32 fl::third_party::truetype::stbtt__find_table (stbtt_uint8 *data, stbtt_uint32 fontstart, const char *tag) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__get_subr (stbtt__buf idx, int32_t n) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__get_subrs (stbtt__buf cff, stbtt__buf fontdict) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__get_svg (stbtt_fontinfo *info) FL_NOEXCEPT
 
static stbtt_int32 fl::third_party::truetype::stbtt__GetCoverageIndex (stbtt_uint8 *coverageTable, int32_t glyph) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__GetGlyfOffset (const stbtt_fontinfo *info, int32_t glyph_index) FL_NOEXCEPT
 
static stbtt_int32 fl::third_party::truetype::stbtt__GetGlyphClass (stbtt_uint8 *classDefTable, int32_t glyph) FL_NOEXCEPT
 
static stbtt_int32 fl::third_party::truetype::stbtt__GetGlyphGPOSInfoAdvance (const stbtt_fontinfo *info, int32_t glyph1, int32_t glyph2) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__GetGlyphInfoT2 (const stbtt_fontinfo *info, int32_t glyph_index, int32_t *x0, int32_t *y0, int32_t *x1, int32_t *y1) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__GetGlyphKernInfoAdvance (const stbtt_fontinfo *info, int32_t glyph1, int32_t glyph2) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__GetGlyphShapeT2 (const stbtt_fontinfo *info, int32_t glyph_index, stbtt_vertex **pvertices) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__GetGlyphShapeTT (const stbtt_fontinfo *info, int32_t glyph_index, stbtt_vertex **pvertices) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__h_prefilter (unsigned char *pixels, int32_t w, int32_t h, int32_t stride_in_bytes, uint32_t kernel_width) FL_NOEXCEPT
 
static void * fl::third_party::truetype::stbtt__hheap_alloc (stbtt__hheap *hh, size_t size, void *userdata) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__hheap_cleanup (stbtt__hheap *hh, void *userdata) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__hheap_free (stbtt__hheap *hh, void *p) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__isfont (stbtt_uint8 *font) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__matches (stbtt_uint8 *fc, stbtt_uint32 offset, stbtt_uint8 *name, stbtt_int32 flags) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__matchpair (stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, stbtt_int32 target_id, stbtt_int32 next_id) FL_NOEXCEPT
 
static stbtt__buf fl::third_party::truetype::stbtt__new_buf (const void *p, size_t size) FL_NOEXCEPT
 
static float fl::third_party::truetype::stbtt__oversample_shift (int32_t oversample) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__rasterize (stbtt__bitmap *result, stbtt__point *pts, int32_t *wcount, int32_t windings, float scale_x, float scale_y, float shift_x, float shift_y, int32_t off_x, int32_t off_y, int32_t invert, void *userdata) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__ray_intersect_bezier (float orig[2], float ray[2], float q0[2], float q1[2], float q2[2], float hits[2][2]) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__run_charstring (const stbtt_fontinfo *info, int32_t glyph_index, stbtt__csctx *c) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__solve_cubic (float a, float b, float c, float *r) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__sort_edges (stbtt__edge *p, int32_t n) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__sort_edges_ins_sort (stbtt__edge *p, int32_t n) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__sort_edges_quicksort (stbtt__edge *p, int32_t n) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__tesselate_cubic (stbtt__point *points, int32_t *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float objspace_flatness_squared, int32_t n) FL_NOEXCEPT
 
static int32_t fl::third_party::truetype::stbtt__tesselate_curve (stbtt__point *points, int32_t *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int32_t n) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__track_vertex (stbtt__csctx *c, stbtt_int32 x, stbtt_int32 y) FL_NOEXCEPT
 
static void fl::third_party::truetype::stbtt__v_prefilter (unsigned char *pixels, int32_t w, int32_t h, int32_t stride_in_bytes, uint32_t kernel_width) FL_NOEXCEPT
 
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
 
static int32_t fl::third_party::truetype::stbtt_BakeFontBitmap_internal (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
 
static int32_t fl::third_party::truetype::stbtt_CompareUTF8toUTF16_bigendian_internal (char *s1, int32_t len1, 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
 
static int32_t fl::third_party::truetype::stbtt_FindMatchingFont_internal (unsigned char *font_collection, char *name_utf8, stbtt_int32 flags) FL_NOEXCEPT
 
unsigned char * fl::third_party::truetype::stbtt_FindSVGDoc (const stbtt_fontinfo *info, int32_t gl) FL_NOEXCEPT
 
static stbtt__pointfl::third_party::truetype::stbtt_FlattenCurves (stbtt_vertex *vertices, int32_t num_verts, float objspace_flatness, int32_t **contour_lengths, int32_t *num_contours, void *userdata) 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
 
static int32_t fl::third_party::truetype::stbtt_GetFontOffsetForIndex_internal (unsigned char *font_collection, 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
 
static int32_t fl::third_party::truetype::stbtt_GetNumberOfFonts_internal (unsigned char *font_collection) 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
 
static int32_t fl::third_party::truetype::stbtt_InitFont_internal (stbtt_fontinfo *info, unsigned char *data, int32_t fontstart) 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
 
void fl::third_party::truetype::stbtt_Rasterize (stbtt__bitmap *result, float flatness_in_pixels, stbtt_vertex *vertices, int32_t num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int32_t x_off, int32_t y_off, int32_t invert, void *userdata) 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
 
static void fl::third_party::truetype::stbtt_setvertex (stbtt_vertex *v, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy) FL_NOEXCEPT
 
static stbtt_int32 fl::third_party::truetype::ttLONG (stbtt_uint8 *p) FL_NOEXCEPT
 
static stbtt_int16 fl::third_party::truetype::ttSHORT (stbtt_uint8 *p) FL_NOEXCEPT
 
static stbtt_uint32 fl::third_party::truetype::ttULONG (stbtt_uint8 *p) FL_NOEXCEPT
 
static stbtt_uint16 fl::third_party::truetype::ttUSHORT (stbtt_uint8 *p) FL_NOEXCEPT
 

Class Documentation

◆ fl::third_party::truetype::stbrp_context

struct fl::third_party::truetype::stbrp_context
Class Members
int32_t bottom_y
int32_t height
int32_t width
int32_t x
int32_t y

◆ fl::third_party::truetype::stbrp_node

struct fl::third_party::truetype::stbrp_node
Class Members
unsigned char x

◆ 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__active_edge

struct fl::third_party::truetype::stbtt__active_edge
+ Collaboration diagram for fl::third_party::truetype::stbtt__active_edge:
Class Members
struct stbtt__active_edge * next

◆ fl::third_party::truetype::stbtt__bitmap

struct fl::third_party::truetype::stbtt__bitmap
Class Members
int32_t h
unsigned char * pixels
int32_t stride
int32_t w

◆ 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__csctx

struct fl::third_party::truetype::stbtt__csctx
+ Collaboration diagram for fl::third_party::truetype::stbtt__csctx:
Class Members
int32_t bounds
float first_x
float first_y
stbtt_int32 max_x
stbtt_int32 max_y
stbtt_int32 min_x
stbtt_int32 min_y
int32_t num_vertices
stbtt_vertex * pvertices
int32_t started
float x
float y

◆ fl::third_party::truetype::stbtt__edge

struct fl::third_party::truetype::stbtt__edge
Class Members
int32_t invert
float x0
float x1
float y0
float y1

◆ fl::third_party::truetype::stbtt__hheap

struct fl::third_party::truetype::stbtt__hheap
+ Collaboration diagram for fl::third_party::truetype::stbtt__hheap:
Class Members
void * first_free
struct stbtt__hheap_chunk * head
int32_t num_remaining_in_head_chunk

◆ fl::third_party::truetype::stbtt__hheap_chunk

struct fl::third_party::truetype::stbtt__hheap_chunk
+ Collaboration diagram for fl::third_party::truetype::stbtt__hheap_chunk:
Class Members
struct stbtt__hheap_chunk * next

◆ fl::third_party::truetype::stbtt__point

struct fl::third_party::truetype::stbtt__point
Class Members
float x
float y

◆ 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