Lines Matching defs:const

121 #pragma clang diagnostic ignored "-Wcast-qual"              // warning: cast from 'const xxxx *' to 'xxx *' drops const qualifier
127 #pragma GCC diagnostic ignored "-Wcast-qual" // warning: cast from type 'const xxxx *' to type 'xxxx *' casts away qualifiers
380 const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(ArcFastVtx);
395 const float radius = (float)i;
441 ImDrawList* ImDrawList::CloneOutput() const
567 int ImDrawList::_CalcCircleAutoSegmentCount(float radius) const
570 const int radius_idx = (int)(radius + 0.999999f); // ceil to never reduce accuracy
663 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col)
678 void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col)
693 void ImDrawList::PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col)
716 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, ImDrawFlags flags, float thickness)
721 const bool closed = (flags & ImDrawFlags_Closed) != 0;
722 const ImVec2 opaque_uv = _Data->TexUvWhitePixel;
723 const int count = closed ? points_count : points_count - 1; // The number of line segments we need to draw
724 const bool thick_line = (thickness > _FringeScale);
729 const float AA_SIZE = _FringeScale;
730 const ImU32 col_trans = col & ~IM_COL32_A_MASK;
734 const int integer_thickness = (int)thickness;
735 const float fractional_thickness = thickness - integer_thickness;
740 const bool use_texture = (Flags & ImDrawListFlags_AntiAliasedLinesUseTex) && (integer_thickness < IM_DRAWLIST_TEX_LINES_WIDTH_MAX) && (fractional_thickness <= 0.00001f) && (AA_SIZE == 1.0f);
745 const int idx_count = use_texture ? (count * 6) : (thick_line ? count * 18 : count * 12);
746 const int vtx_count = use_texture ? (points_count * 2) : (thick_line ? points_count * 4 : points_count * 3);
757 const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1;
778 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE;
795 const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1; // i2 is the second point of the line segment
796 const unsigned int idx2 = ((i1 + 1) == points_count) ? _VtxCurrentIdx : (idx1 + (use_texture ? 2 : 3)); // Vertex index for end of segment
839 const ImVec4 tex_uvs_1 = _Data->TexUvLines[integer_thickness + 1];
869 const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f;
874 const int points_last = points_count - 1;
891 const int i2 = (i1 + 1) == points_count ? 0 : (i1 + 1); // i2 is the second point of the line segment
892 const unsigned int idx2 = (i1 + 1) == points_count ? _VtxCurrentIdx : (idx1 + 4); // Vertex index for end of segment
941 const int idx_count = count * 6;
942 const int vtx_count = count * 4; // FIXME-OPT: Not sharing edges
947 const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1;
948 const ImVec2& p1 = points[i1];
949 const ImVec2& p2 = points[i2];
972 void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col)
977 const ImVec2 uv = _Data->TexUvWhitePixel;
982 const float AA_SIZE = _FringeScale;
983 const ImU32 col_trans = col & ~IM_COL32_A_MASK;
984 const int idx_count = (points_count - 2)*3 + points_count * 6;
985 const int vtx_count = (points_count * 2);
1001 const ImVec2& p0 = points[i0];
1002 const ImVec2& p1 = points[i1];
1013 const ImVec2& n0 = temp_normals[i0];
1014 const ImVec2& n1 = temp_normals[i1];
1036 const int idx_count = (points_count - 2)*3;
1037 const int vtx_count = points_count;
1053 void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step)
1068 const int sample_range = ImAbs(a_max_sample - a_min_sample);
1069 const int a_next_step = a_step;
1076 const int overstep = sample_range % a_step;
1109 const ImVec2 s = _Data->ArcFastVtx[sample_index];
1123 const ImVec2 s = _Data->ArcFastVtx[sample_index];
1136 const ImVec2 s = _Data->ArcFastVtx[normalized_max_sample];
1145 void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments)
1158 const float a = a_min + ((float)i / (float)num_segments) * (a_max - a_min);
1164 void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12)
1174 void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments)
1191 const bool a_is_reverse = a_max < a_min;
1195 const float a_min_sample_f = IM_DRAWLIST_ARCFAST_SAMPLE_MAX * a_min / (IM_PI * 2.0f);
1196 const float a_max_sample_f = IM_DRAWLIST_ARCFAST_SAMPLE_MAX * a_max / (IM_PI * 2.0f);
1198 const int a_min_sample = a_is_reverse ? (int)ImFloorSigned(a_min_sample_f) : (int)ImCeil(a_min_sample_f);
1199 const int a_max_sample = a_is_reverse ? (int)ImCeil(a_max_sample_f) : (int)ImFloorSigned(a_max_sample_f);
1200 const int a_mid_samples = a_is_reverse ? ImMax(a_min_sample - a_max_sample, 0) : ImMax(a_max_sample - a_min_sample, 0);
1202 const float a_min_segment_angle = a_min_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX;
1203 const float a_max_segment_angle = a_max_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX;
1204 const bool a_emit_start = (a_min_segment_angle - a_min) != 0.0f;
1205 const bool a_emit_end = (a_max - a_max_segment_angle) != 0.0f;
1217 const float arc_length = ImAbs(a_max - a_min);
1218 const int circle_segment_count = _CalcCircleAutoSegmentCount(radius);
1219 const int arc_segment_count = ImMax((int)ImCeil(circle_segment_count * arc_length / (IM_PI * 2.0f)), (int)(2.0f * IM_PI / arc_length));
1224 ImVec2 ImBezierCubicCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, float t)
1234 ImVec2 ImBezierQuadraticCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, float t)
1287 void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments)
1302 void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments)
1351 void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, ImDrawFlags flags)
1366 const float rounding_tl = (flags & ImDrawFlags_RoundCornersTopLeft) ? rounding : 0.0f;
1367 const float rounding_tr = (flags & ImDrawFlags_RoundCornersTopRight) ? rounding : 0.0f;
1368 const float rounding_br = (flags & ImDrawFlags_RoundCornersBottomRight) ? rounding : 0.0f;
1369 const float rounding_bl = (flags & ImDrawFlags_RoundCornersBottomLeft) ? rounding : 0.0f;
1377 void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness)
1388 void ImDrawList::AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags, float thickness)
1399 void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags)
1416 void ImDrawList::AddRectFilledMultiColor(const ImVec2& p_min, const ImVec2& p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left)
1421 const ImVec2 uv = _Data->TexUvWhitePixel;
1431 void ImDrawList::AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness)
1443 void ImDrawList::AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col)
1455 void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness)
1466 void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col)
1477 void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
1494 const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
1501 void ImDrawList::AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments)
1518 const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
1526 void ImDrawList::AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
1532 const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
1538 void ImDrawList::AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments)
1544 const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
1550 void ImDrawList::AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments)
1561 void ImDrawList::AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments)
1571 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect)
1600 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end)
1605 void ImDrawList::AddImage(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col)
1610 const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
1621 void ImDrawList::AddImageQuad(ImTextureID user_texture_id, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1, const ImVec2& uv2, const ImVec2& uv3, const ImVec2& uv4, ImU32 col)
1626 const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
1637 void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags)
1649 const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
1835 void ImDrawData::ScaleClipRects(const ImVec2& fb_scale)
1859 const int col0_r = (int)(col0 >> IM_COL32_R_SHIFT) & 0xFF;
1860 const int col0_g = (int)(col0 >> IM_COL32_G_SHIFT) & 0xFF;
1861 const int col0_b = (int)(col0 >> IM_COL32_B_SHIFT) & 0xFF;
1862 const int col_delta_r = ((int)(col1 >> IM_COL32_R_SHIFT) & 0xFF) - col0_r;
1863 const int col_delta_g = ((int)(col1 >> IM_COL32_G_SHIFT) & 0xFF) - col0_g;
1864 const int col_delta_b = ((int)(col1 >> IM_COL32_B_SHIFT) & 0xFF) - col0_b;
1877 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp)
1879 const ImVec2 size = b - a;
1880 const ImVec2 uv_size = uv_b - uv_a;
1881 const ImVec2 scale = ImVec2(
1889 const ImVec2 min = ImMin(uv_a, uv_b);
1890 const ImVec2 max = ImMax(uv_a, uv_b);
1922 const int FONT_ATLAS_DEFAULT_TEX_DATA_W = 108; // Actual texture will be 2 times that + 1 spacing.
1923 const int FONT_ATLAS_DEFAULT_TEX_DATA_H = 27;
1924 static const char FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS[FONT_ATLAS_DEFAULT_TEX_DATA_W * FONT_ATLAS_DEFAULT_TEX_DATA_H + 1] =
1955 static const ImVec2 FONT_ATLAS_DEFAULT_TEX_CURSOR_DATA[ImGuiMouseCursor_COUNT][3] =
2054 const unsigned char* src = pixels;
2067 ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg)
2100 static unsigned int stb_decompress_length(const unsigned char* input);
2101 static unsigned int stb_decompress(unsigned char* output, const unsigned char* input, unsigned int length);
2102 static const char* GetDefaultCompressedFontDataTTFBase85();
2104 static void Decode85(const unsigned char* src, unsigned char* dst)
2116 ImFont* ImFontAtlas::AddFontDefault(const ImFontConfig* font_cfg_template)
2131 const char* ttf_compressed_base85 = GetDefaultCompressedFontDataTTFBase85();
2132 const ImWchar* glyph_ranges = font_cfg.GlyphRanges != NULL ? font_cfg.GlyphRanges : GetGlyphRangesDefault();
2137 ImFont* ImFontAtlas::AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
2151 const char* p;
2159 ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
2172 ImFont* ImFontAtlas::AddFontFromMemoryCompressedTTF(const void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
2174 const unsigned int buf_decompressed_size = stb_decompress_length((const unsigned char*)compressed_ttf_data);
2176 stb_decompress(buf_decompressed_data, (const unsigned char*)compressed_ttf_data, (unsigned int)compressed_ttf_size);
2184 ImFont* ImFontAtlas::AddFontFromMemoryCompressedBase85TTF(const char* compressed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges)
2188 Decode85((const unsigned char*)compressed_ttf_data_base85, (unsigned char*)compressed_ttf);
2205 int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset)
2224 void ImFontAtlas::CalcCustomRectUV(const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max) const
2266 const ImFontBuilderIO* builder_io = FontBuilderIO;
2291 void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char* pixels, int x, int y, int w, int h, int stride)
2308 const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x0020..0xFFFF)
2325 static void UnpackBitVectorToFlatIndexList(const ImBitVector* in, ImVector<int>* out)
2328 const ImU32* it_begin = in->Storage.begin();
2329 const ImU32* it_end = in->Storage.end();
2330 for (const ImU32* it = it_begin; it < it_end; it++)
2376 const int font_offset = stbtt_GetFontOffsetForIndex((unsigned char*)cfg.FontData, cfg.FontNo);
2384 for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2)
2400 for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2)
2465 const float scale = (cfg.SizePixels > 0) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -cfg.SizePixels);
2466 const int padding = atlas->TexGlyphPadding;
2470 const int glyph_index_in_font = stbtt_FindGlyphIndex(&src_tmp.FontInfo, src_tmp.GlyphsList[glyph_i]);
2482 const int surface_sqrt = (int)ImSqrt((float)total_surface) + 1;
2491 const int TEX_HEIGHT_MAX = 1024 * 32;
2560 const float font_scale = stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels);
2564 const float ascent = ImFloor(unscaled_ascent * font_scale + ((unscaled_ascent > 0.0f) ? +1 : -1));
2565 const float descent = ImFloor(unscaled_descent * font_scale + ((unscaled_descent > 0.0f) ? +1 : -1));
2567 const float font_off_x = cfg.GlyphOffset.x;
2568 const float font_off_y = cfg.GlyphOffset.y + IM_ROUND(dst_font->Ascent);
2573 const int codepoint = src_tmp.GlyphsList[glyph_i];
2574 const stbtt_packedchar& pc = src_tmp.PackedChars[glyph_i];
2589 const ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype()
2640 void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned char in_marker_pixel_value)
2650 void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned int in_marker_pixel_value)
2665 const int w = atlas->TexWidth;
2670 const int x_for_white = r->X;
2671 const int x_for_black = r->X + FONT_ATLAS_DEFAULT_TEX_DATA_W + 1;
2687 const int offset = (int)r->X + (int)r->Y * w;
2783 const ImFontAtlasCustomRect* r = &atlas->CustomRects[i];
2803 const ImWchar* ImFontAtlas::GetGlyphRangesDefault()
2805 static const ImWchar ranges[] =
2813 const ImWchar* ImFontAtlas::GetGlyphRangesKorean()
2815 static const ImWchar ranges[] =
2826 const ImWchar* ImFontAtlas::GetGlyphRangesChineseFull()
2828 static const ImWchar ranges[] =
2842 static void UnpackAccumulativeOffsetsIntoRanges(int base_codepoint, const short* accumulative_offsets, int accumulative_offsets_count, ImWchar* out_ranges)
2856 const ImWchar* ImFontAtlas::GetGlyphRangesChineseSimplifiedCommon()
2863 static const short accumulative_offsets_from_0x4E00[] =
2924 const ImWchar* ImFontAtlas::GetGlyphRangesJapanese()
2946 static const short accumulative_offsets_from_0x4E00[] =
3014 const ImWchar* ImFontAtlas::GetGlyphRangesCyrillic()
3016 static const ImWchar ranges[] =
3027 const ImWchar* ImFontAtlas::GetGlyphRangesThai()
3029 static const ImWchar ranges[] =
3039 const ImWchar* ImFontAtlas::GetGlyphRangesVietnamese()
3041 static const ImWchar ranges[] =
3060 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end)
3073 void ImFontGlyphRangesBuilder::AddRanges(const ImWchar* ranges)
3082 const int max_codepoint = IM_UNICODE_CODEPOINT_MAX;
3135 static ImWchar FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count)
3163 const int page_n = codepoint / 4096;
3188 const ImWchar ellipsis_chars[] = { (ImWchar)0x2026, (ImWchar)0x0085 };
3189 const ImWchar dots_chars[] = { (ImWchar)'.', (ImWchar)0xFF0E };
3196 const ImWchar fallback_chars[] = { (ImWchar)IM_UNICODE_CODEPOINT_INVALID, (ImWchar)'?', (ImWchar)' ' };
3246 void ImFont::AddGlyph(const ImFontConfig* cfg, ImWchar codepoint, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x)
3251 const float advance_x_original = advance_x;
3305 const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const
3309 const ImWchar i = IndexLookup.Data[c];
3315 const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const
3319 const ImWchar i = IndexLookup.Data[c];
3325 const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const
3347 const char* word_end = text;
3348 const char* prev_word_end = NULL;
3351 const char* s = text;
3355 const char* next_s;
3379 const float char_width = ((int)c < IndexAdvanceX.Size ? IndexAdvanceX.Data[c] : FallbackAdvanceX);
3424 ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** remaining) const
3429 const float line_height = size;
3430 const float scale = size / FontSize;
3435 const bool word_wrap_enabled = (wrap_width > 0.0f);
3436 const char* word_wrap_eol = NULL;
3438 const char* s = text_begin;
3462 const char c = *s;
3470 const char* prev_s = s;
3496 const float char_width = ((int)c < IndexAdvanceX.Size ? IndexAdvanceX.Data[c] : FallbackAdvanceX) * scale;
3519 void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const
3521 const ImFontGlyph* glyph = FindGlyph(c);
3534 void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const
3547 const float scale = size / FontSize;
3548 const float line_height = FontSize * scale;
3549 const bool word_wrap_enabled = (wrap_width > 0.0f);
3550 const char* word_wrap_eol = NULL;
3553 const char* s = text_begin;
3557 s = (const char*)memchr(s, '\n', text_end - s);
3566 const char* s_end = s;
3570 s_end = (const char*)memchr(s_end, '\n', text_end - s_end);
3580 const int vtx_count_max = (int)(text_end - s) * 4;
3581 const int idx_count_max = (int)(text_end - s) * 6;
3582 const int idx_expected_size = draw_list->IdxBuffer.Size + idx_count_max;
3589 const ImU32 col_untinted = col | ~IM_COL32_A_MASK;
3612 const char c = *s;
3646 const ImFontGlyph* glyph = FindGlyph((ImWchar)c);
3744 const float h = draw_list->_Data->FontSize * 1.00f;
3836 void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
3852 const float inv_rounding = 1.0f / rounding;
3853 const float arc0_b = ImAcos01(1.0f - (p0.x - rect.Min.x) * inv_rounding);
3854 const float arc0_e = ImAcos01(1.0f - (p1.x - rect.Min.x) * inv_rounding);
3855 const float half_pi = IM_PI * 0.5f; // We will == compare to this because we know this is the exact value ImAcos01 can return.
3856 const float x0 = ImMax(p0.x, rect.Min.x + rounding);
3874 const float arc1_b = ImAcos01(1.0f - (rect.Max.x - p1.x) * inv_rounding);
3875 const float arc1_e = ImAcos01(1.0f - (rect.Max.x - p0.x) * inv_rounding);
3876 const float x1 = ImMin(p1.x, rect.Max.x - rounding);
3898 const bool fill_L = (inner.Min.x > outer.Min.x);
3899 const bool fill_R = (inner.Max.x < outer.Max.x);
3900 const bool fill_U = (inner.Min.y > outer.Min.y);
3901 const bool fill_D = (inner.Max.y < outer.Max.y);
3962 static unsigned int stb_decompress_length(const unsigned char *input)
3968 static const unsigned char *stb__barrier_in_b;
3970 static void stb__match(const unsigned char *data, unsigned int length)
3979 static void stb__lit(const unsigned char *data, unsigned int length)
3992 static const unsigned char *stb_decompress_token(const unsigned char *i)
4011 const unsigned long ADLER_MOD = 65521;
4040 static unsigned int stb_decompress(unsigned char *output, const unsigned char *i, unsigned int /*length*/)
4044 const unsigned int olen = stb_decompress_length(i);
4052 const unsigned char *old_i = i;
4084 static const char proggy_clean_ttf_compressed_data_base85[11980 + 1] =
4172 static const char* GetDefaultCompressedFontDataTTFBase85()