Home
last modified time | relevance | path

Searched refs:clip_rect (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavdevice/
H A Dgdigrab.c63 RECT clip_rect; /**< The subarea of the screen or window to clip */ member
125 RECT rect = gdigrab->clip_rect; in gdigrab_region_wnd_init()
244 RECT clip_rect; in gdigrab_read_header() local
315 clip_rect.left = virtual_rect.left; in gdigrab_read_header()
316 clip_rect.top = virtual_rect.top; in gdigrab_read_header()
317 clip_rect.right = virtual_rect.right; in gdigrab_read_header()
318 clip_rect.bottom = virtual_rect.bottom; in gdigrab_read_header()
320 clip_rect.left = gdigrab->offset_x; in gdigrab_read_header()
321 clip_rect.top = gdigrab->offset_y; in gdigrab_read_header()
322 clip_rect in gdigrab_read_header()
471 RECT clip_rect = gdigrab->clip_rect; paint_mouse_pointer() local
549 RECT clip_rect = gdigrab->clip_rect; gdigrab_read_packet() local
[all...]
/third_party/mesa3d/src/intel/tools/imgui/
H A Dimgui_impl_opengl3.cpp196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y); in ImGui_ImplOpenGL3_RenderDrawData() local
197 if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0f) in ImGui_ImplOpenGL3_RenderDrawData()
200 glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int)(clip_rect in ImGui_ImplOpenGL3_RenderDrawData()
[all...]
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h169 (GLint)(cmd->clip_rect.x * glfw.fb_scale.x), in nk_glfw3_render()
170 (GLint)((glfw.height - (GLint)(cmd->clip_rect.y + cmd->clip_rect.h)) * glfw.fb_scale.y), in nk_glfw3_render()
171 (GLint)(cmd->clip_rect.w * glfw.fb_scale.x), in nk_glfw3_render()
172 (GLint)(cmd->clip_rect.h * glfw.fb_scale.y)); in nk_glfw3_render()
H A Dnuklear.h4723 struct nk_rect clip_rect; member
4733 struct nk_rect clip_rect; member
9252 canvas->clip_rect = nk_null_rect; in nk_draw_list_setup()
9361 cmd->clip_rect = clip; in nk_draw_list_push_command()
9368 list->clip_rect = clip; in nk_draw_list_push_command()
9394 prev->clip_rect = rect; in nk_draw_list_add_clip()
9416 ) nk_draw_list_push_command(list, prev->clip_rect, texture); in nk_draw_list_push_image()
10354 list->clip_rect.x, list->clip_rect.y, list->clip_rect in nk_draw_list_add_text()
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_draw.cpp1194 ImVec4 clip_rect = _ClipRectStack.back(); in AddText() local
1197 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText()
1198 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText()
1199 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText()
1200 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText()
1202 font->RenderText(this, font_size, pos, col, clip_rect, text_begi in AddText()
2749 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 RenderText() argument
[all...]
H A Dimgui.cpp499 ImDrawCmd: 'vtx_count' becomes 'ElemCount', 'clip_rect' becomes 'ClipRect', 'user_callback' becomes 'UserCallback', 'texture_id' becomes 'TextureId'.
2327 // Default clip_rect uses (pos_min,pos_max)
2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClippedEx() argument
2335 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min; in RenderTextClippedEx()
2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; in RenderTextClippedEx()
2338 if (clip_rect) // If we had no explicit clipping rectangle then pos==clip_min in RenderTextClippedEx()
2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClipped() argument
2367 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect); in RenderTextClipped()
5404 ImRect clip_rect = text_r; Begin() local
7144 NavClampRectToVisibleAreaForMoveDir(ImGuiDir move_dir, ImRect& r, const ImRect& clip_rect) NavClampRectToVisibleAreaForMoveDir() argument
9332 ImRect clip_rect = pcmd->ClipRect; ShowMetricsWindow() local
[all...]
H A Dimgui_widgets.cpp151 const ImRect clip_rect = window->ClipRect; in TextUnformatted() local
154 if (text_pos.y <= clip_rect.Max.y) in TextUnformatted()
161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); in TextUnformatted()
3621 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + size.y); // Not using frame_bb.Max because we have adjusted size
3727 if (rect_pos.y > clip_rect.w + g.FontSize)
3729 if (rect_pos.y < clip_rect.y)
3742 rect.ClipWith(clip_rect);
3743 if (rect.Overlaps(clip_rect))
3753 draw_window->DrawList->AddText(g.Font, g.FontSize, render_pos - render_scroll, GetColorU32(ImGuiCol_Text), buf_display, buf_display + buf_display_len, 0.0f, is_multiline ? NULL : &clip_rect);
3759 if (cursor_is_visible && cursor_screen_rect.Overlaps(clip_rect))
[all...]
H A Dimgui_internal.h1443 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0,0), const ImRect* clip_rect = NULL);
1444 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL);
H A Dimgui.h1736 ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally.
2119 IMGUI_API void 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 = 0.0f, bool cpu_fine_clip = false) const;
/third_party/skia/third_party/externals/imgui/
H A Dimgui_draw.cpp1589 ImVec4 clip_rect = _CmdHeader.ClipRect; in AddText() local
1592 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText()
1593 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText()
1594 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText()
1595 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText()
1597 font->RenderText(this, font_size, pos, col, clip_rect, text_begi in AddText()
3534 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 RenderText() argument
[all...]
H A Dimgui.cpp626 ImDrawCmd: 'vtx_count' becomes 'ElemCount', 'clip_rect' becomes 'ClipRect', 'user_callback' becomes 'UserCallback', 'texture_id' becomes 'TextureId'.
2748 // Default clip_rect uses (pos_min,pos_max)
2750 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClippedEx() argument
2756 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min; in RenderTextClippedEx()
2757 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; in RenderTextClippedEx()
2759 if (clip_rect) // If we had no explicit clipping rectangle then pos==clip_min in RenderTextClippedEx()
2778 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClipped() argument
2788 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect); in RenderTextClipped()
8838 NavClampRectToVisibleAreaForMoveDir(ImGuiDir move_dir, ImRect& r, const ImRect& clip_rect) NavClampRectToVisibleAreaForMoveDir() argument
11769 ImRect clip_rect = draw_cmd->ClipRect; DebugNodeDrawCmdShowMeshAndBoundingBox() local
[all...]
H A Dimgui_widgets.cpp4544 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + inner_size.x, frame_bb.Min.y + inner_size.y); // Not using frame_bb.Max because we have adjusted size in InputTextEx()
4676 if (rect_pos.y > clip_rect.w + g.FontSize) in InputTextEx()
4678 if (rect_pos.y < clip_rect.y) in InputTextEx()
4691 rect.ClipWith(clip_rect); in InputTextEx()
4692 if (rect.Overlaps(clip_rect)) in InputTextEx()
4704 draw_window->DrawList->AddText(g.Font, g.FontSize, draw_pos - draw_scroll, col, buf_display, buf_display_end, 0.0f, is_multiline ? NULL : &clip_rect); in InputTextEx()
4714 if (cursor_is_visible && cursor_screen_rect.Overlaps(clip_rect)) in InputTextEx()
4735 draw_window->DrawList->AddText(g.Font, g.FontSize, draw_pos, col, buf_display, buf_display_end, 0.0f, is_multiline ? NULL : &clip_rect); in InputTextEx()
6687 ImRect clip_rect(IM_ROUND(bar_rect.Min.x + window->WindowBorderSize), IM_ROUND(bar_rect.Min.y + window->WindowBorderSize), IM_ROUND(ImMax(bar_rect.Min.x, bar_rect.Max.x - ImMax(window->WindowRounding, window->WindowBorderSize))), IM_ROUND(bar_rect.Max.y));
6688 clip_rect
[all...]
H A Dimgui_internal.h2563 IMGUI_API void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect);
2643 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL);
2644 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL);
H A Dimgui_tables.cpp3636 void ImGui::SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect)
3638 ImVec4 clip_rect_vec4 = clip_rect.ToVec4();
3639 window->ClipRect = clip_rect;
H A Dimgui.h2294 ImDrawCallback UserCallback; // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally.
2775 IMGUI_API void 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 = 0.0f, bool cpu_fine_clip = false) const;
H A Dimgui_demo.cpp3133 ImVec4 clip_rect(p0.x, p0.y, p1.x, p1.y); // AddText() takes a ImVec4* here so let's convert. in ShowDemoWindowLayout()
3135 draw_list->AddText(ImGui::GetFont(), ImGui::GetFontSize(), text_pos, IM_COL32_WHITE, text_str, NULL, 0.0f, &clip_rect); in ShowDemoWindowLayout() local

Completed in 123 milliseconds