Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimgui_draw.cpp2075 ImVector<stbrp_rect> pack_rects; in ImFontAtlasBuildPackCustomRects() local
2076 pack_rects.resize(user_rects.Size); in ImFontAtlasBuildPackCustomRects()
2077 memset(pack_rects.Data, 0, (size_t)pack_rects.size_in_bytes()); in ImFontAtlasBuildPackCustomRects()
2080 pack_rects[i].w = user_rects[i].Width; in ImFontAtlasBuildPackCustomRects()
2081 pack_rects[i].h = user_rects[i].Height; in ImFontAtlasBuildPackCustomRects()
2083 stbrp_pack_rects(pack_context, &pack_rects[0], pack_rects.Size); in ImFontAtlasBuildPackCustomRects()
2084 for (int i = 0; i < pack_rects.Size; i++) in ImFontAtlasBuildPackCustomRects()
2085 if (pack_rects[i].was_packed) in ImFontAtlasBuildPackCustomRects()
2087 user_rects[i].X = pack_rects[i].x; in ImFontAtlasBuildPackCustomRects()
2088 user_rects[i].Y = pack_rects[i].y; in ImFontAtlasBuildPackCustomRects()
[all …]