Searched refs:pw (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/core/ |
D | lv_obj_pos.c | 642 lv_coord_t pw = lv_obj_get_content_width(parent); in lv_obj_refr_pos() local 644 if(LV_COORD_IS_PCT(x)) x = (pw * LV_COORD_GET_PCT(x)) / 100; in lv_obj_refr_pos() 673 x += pw / 2 - w / 2; in lv_obj_refr_pos() 676 x += pw - w; in lv_obj_refr_pos() 685 x += pw / 2 - w / 2; in lv_obj_refr_pos() 689 x += pw - w; in lv_obj_refr_pos() 693 x += pw - w; in lv_obj_refr_pos() 697 x += pw / 2 - w / 2; in lv_obj_refr_pos()
|
/lvgl-3.7.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 577 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar * chardata, int pw, int ph, // same data as… 672 STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar * chardata, int pw, int ph, // same data … 4124 … unsigned char * pixels, int pw, int ph, // bitmap to be filled in argument 4131 … unsigned char * pixels, int pw, int ph, // bitmap to be filled in 4142 STBTT_memset(pixels, 0, pw * ph); // background of 0 around pixels 4155 if(x + gw + 1 >= pw) 4159 STBTT_assert(x + gw < pw); 4161 stbtt_MakeGlyphBitmap(&f, pixels + x + y * pw, gw, gh, pw, scale, scale, g); 4176 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar * chardata, int pw, int ph, int char_index,… argument 4180 float ipw = 1.0f / pw, iph = 1.0f / ph; [all …]
|