Home
last modified time | relevance | path

Searched refs:g1 (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c101 int g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in ttf_get_glyph_dsc_cb() local
102 if(g1 == 0) { in ttf_get_glyph_dsc_cb()
108 stbtt_GetGlyphBitmapBox(&dsc->info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_dsc_cb()
114 stbtt_GetGlyphHMetrics(&dsc->info, g1, &advw, &lsb); in ttf_get_glyph_dsc_cb()
115 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
134 int g1 = stbtt_FindGlyphIndex(info, (int)unicode_letter); in ttf_get_glyph_bitmap_cb() local
135 if(g1 == 0) { in ttf_get_glyph_bitmap_cb()
140 stbtt_GetGlyphBitmapBox(info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_bitmap_cb()
170 stbtt_MakeGlyphBitmap(info, buffer, w, h, stride, dsc->scale, dsc->scale, g1); in ttf_get_glyph_bitmap_cb()
Dstb_truetype_htcw.h1806 int g1, g2; local
1814 g1 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2) * 2;
1818 g1 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4);
1822 return g1 == g2 ? -1 : g1; // if length is 0, return -1
2861 STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo * info, int g1, int g2) argument
2866 xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2);
2868 xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2);
/lvgl-3.7.0/src/core/
Dlv_group.c158 lv_group_t * g1 = lv_obj_get_group(obj1); in lv_group_swap_obj() local
160 if(g1 != g2) return; in lv_group_swap_obj()
161 if(g1 == NULL) return; in lv_group_swap_obj()
165 _LV_LL_READ(&g1->obj_ll, obj_i) { in lv_group_swap_obj()
170 lv_obj_t * focused = lv_group_get_focused(g1); in lv_group_swap_obj()