Searched refs:gbm (Results 1 – 1 of 1) sorted by relevance
2423 stbtt__bitmap gbm; in stbtt_GetGlyphBitmapSubpixel() local2439 gbm.w = (ix1 - ix0); in stbtt_GetGlyphBitmapSubpixel()2440 gbm.h = (iy1 - iy0); in stbtt_GetGlyphBitmapSubpixel()2441 gbm.pixels = NULL; // in case we error in stbtt_GetGlyphBitmapSubpixel()2443 if (width ) *width = gbm.w; in stbtt_GetGlyphBitmapSubpixel()2444 if (height) *height = gbm.h; in stbtt_GetGlyphBitmapSubpixel()2448 if (gbm.w && gbm.h) { in stbtt_GetGlyphBitmapSubpixel()2449 gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); in stbtt_GetGlyphBitmapSubpixel()2450 if (gbm.pixels) { in stbtt_GetGlyphBitmapSubpixel()2451 gbm.stride = gbm.w; in stbtt_GetGlyphBitmapSubpixel()[all …]