• Home
  • Raw
  • Download

Lines Matching refs:TexHeight

1442     TexWidth = TexHeight = 0;  in ImFontAtlas()
1516 if (out_height) *out_height = TexHeight; 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()
1540 if (out_height) *out_height = TexHeight; 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()
1932 atlas->TexHeight = 0; in ImFontAtlasBuildWithStbTruetype()
1958 … atlas->TexHeight = ImMax(atlas->TexHeight, src_tmp.Rects[glyph_i].y + src_tmp.Rects[glyph_i].h); in ImFontAtlasBuildWithStbTruetype()
1962 …atlas->TexHeight = (atlas->Flags & ImFontAtlasFlags_NoPowerOfTwoHeight) ? (atlas->TexHeight + 1) :… 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()
1967 spc.height = atlas->TexHeight; in ImFontAtlasBuildWithStbTruetype()
2030 …stbtt_GetPackedQuad(src_tmp.PackedChars, atlas->TexWidth, atlas->TexHeight, glyph_i, &dummy_x, &du… in ImFontAtlasBuildWithStbTruetype()
2090 atlas->TexHeight = ImMax(atlas->TexHeight, pack_rects[i].y + pack_rects[i].h); in ImFontAtlasBuildPackCustomRects()
2504 …ntainerAtlas->TexWidth + 1.99f) * (int)((glyph.V1 - glyph.V0) * ContainerAtlas->TexHeight + 1.99f); in AddGlyph()