• Home
  • Raw
  • Download

Lines Matching refs:TexWidth

1442     TexWidth = TexHeight = 0;  in ImFontAtlas()
1515 if (out_width) *out_width = TexWidth; in GetTexDataAsAlpha8()
1530 … TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)TexWidth * (size_t)TexHeight * 4); in GetTexDataAsRGBA32()
1533 for (int n = TexWidth * TexHeight; n > 0; n--) in GetTexDataAsRGBA32()
1539 if (out_width) *out_width = TexWidth; in GetTexDataAsRGBA32()
1697 …IM_ASSERT(TexWidth > 0 && TexHeight > 0); // Font atlas needs to be built before we can calculat… in CalcCustomRectUV()
1793 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithStbTruetype()
1934 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithStbTruetype()
1936 …atlas->TexWidth = (surface_sqrt >= 4096*0.7f) ? 4096 : (surface_sqrt >= 2048*0.7f) ? 2048 : (surfa… in ImFontAtlasBuildWithStbTruetype()
1942 stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, atlas->TexGlyphPadding, NULL); in ImFontAtlasBuildWithStbTruetype()
1963 atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
1964 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
1965 memset(atlas->TexPixelsAlpha8, 0, atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
1987 …plyRectAlpha8(multiply_table, atlas->TexPixelsAlpha8, r->x, r->y, r->w, r->h, atlas->TexWidth * 1); in ImFontAtlasBuildWithStbTruetype()
2030 …stbtt_GetPackedQuad(src_tmp.PackedChars, atlas->TexWidth, atlas->TexHeight, glyph_i, &dummy_x, &du… in ImFontAtlasBuildWithStbTruetype()
2102 const int w = atlas->TexWidth; in ImFontAtlasBuildRenderDefaultTexData()
2504 …MetricsTotalSurface += (int)((glyph.U1 - glyph.U0) * ContainerAtlas->TexWidth + 1.99f) * (int)((gl… in AddGlyph()