Searched refs:user_rects (Results 1 – 1 of 1) sorted by relevance
2072 ImVector<ImFontAtlas::CustomRect>& user_rects = atlas->CustomRects; in ImFontAtlasBuildPackCustomRects() local2073 …IM_ASSERT(user_rects.Size >= 1); // We expect at least the default custom rects to be registered, … in ImFontAtlasBuildPackCustomRects()2076 pack_rects.resize(user_rects.Size); in ImFontAtlasBuildPackCustomRects()2078 for (int i = 0; i < user_rects.Size; i++) in ImFontAtlasBuildPackCustomRects()2080 pack_rects[i].w = user_rects[i].Width; in ImFontAtlasBuildPackCustomRects()2081 pack_rects[i].h = user_rects[i].Height; in ImFontAtlasBuildPackCustomRects()2087 user_rects[i].X = pack_rects[i].x; in ImFontAtlasBuildPackCustomRects()2088 user_rects[i].Y = pack_rects[i].y; in ImFontAtlasBuildPackCustomRects()2089 … IM_ASSERT(pack_rects[i].w == user_rects[i].Width && pack_rects[i].h == user_rects[i].Height); in ImFontAtlasBuildPackCustomRects()