Home
last modified time | relevance | path

Searched refs:paint_rect (Results 1 – 25 of 123) sorted by relevance

12345

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/
H A Dtable_cell_painter.cc38 auto paint_rect = in PaintContainerBackgroundBehindCell() local
44 const PhysicalRect& paint_rect, in PaintBackground() argument
85 PhysicalRect paint_rect; in PaintBoxDecorationBackground() local
91 paint_rect = layout_table_cell_.PhysicalLayoutOverflowRect(); in PaintBoxDecorationBackground()
93 paint_rect.Move(contents_paint_state->PaintOffset()); in PaintBoxDecorationBackground()
94 paint_rect.Expand(layout_table_cell_.BorderBoxOutsets()); in PaintBoxDecorationBackground()
97 visual_rect = EnclosingIntRect(paint_rect); in PaintBoxDecorationBackground()
99 paint_rect = PaintRectNotIncludingVisualOverflow(paint_offset); in PaintBoxDecorationBackground()
115 PaintBackground(paint_info, paint_rect, layout_table_cell_); in PaintBoxDecorationBackground()
122 auto inner_rect = paint_rect; in PaintBoxDecorationBackground()
[all …]
H A Dbox_painter.cc64 PhysicalRect paint_rect; in PaintBoxDecorationBackground() local
74 paint_rect = layout_box_.PhysicalLayoutOverflowRect(); in PaintBoxDecorationBackground()
76 paint_rect.Move(contents_paint_state->PaintOffset()); in PaintBoxDecorationBackground()
81 paint_rect.Expand(layout_box_.BorderBoxOutsets()); in PaintBoxDecorationBackground()
89 paint_rect = layout_box_.PhysicalBorderBoxRect(); in PaintBoxDecorationBackground()
90 paint_rect.Move(paint_offset); in PaintBoxDecorationBackground()
103 visual_rect, paint_rect, *background_client); in PaintBoxDecorationBackground()
135 const PhysicalRect& paint_rect, in PaintBoxDecorationBackgroundWithRect() argument
191 PaintBackground(paint_info, paint_rect, in PaintBoxDecorationBackgroundWithRect()
219 paint_info, paint_rect, style, in PaintBoxDecorationBackgroundWithRect()
[all …]
H A Dinline_flow_box_painter.cc83 const PhysicalRect& paint_rect) { in ClipRectForNinePieceImageStrip() argument
84 PhysicalRect clip_rect = paint_rect; in ClipRectForNinePieceImageStrip()
88 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in ClipRectForNinePieceImageStrip()
91 clip_rect.SetX(paint_rect.X() - outsets.Left()); in ClipRectForNinePieceImageStrip()
97 clip_rect.SetX(paint_rect.X() - outsets.Left()); in ClipRectForNinePieceImageStrip()
100 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in ClipRectForNinePieceImageStrip()
110 const PhysicalRect& paint_rect, in PaintRectForImageStrip() argument
139 paint_rect.X() - in PaintRectForImageStrip()
142 paint_rect.Y() - in PaintRectForImageStrip()
216 VisualRect(paint_rect)); in PaintBackgroundBorderShadow()
[all …]
H A Dfieldset_painter.cc42 PhysicalRect paint_rect(paint_offset, layout_fieldset_.Size()); in PaintBoxDecorationBackground() local
57 paint_rect.Contract(fieldset_paint_info.border_outsets); in PaintBoxDecorationBackground()
63 BoxPainterBase::PaintNormalBoxShadow(paint_info, paint_rect, in PaintBoxDecorationBackground()
71 paint_rect, geometry); in PaintBoxDecorationBackground()
75 paint_info, paint_rect, layout_fieldset_.StyleRef()); in PaintBoxDecorationBackground()
94 paint_rect, layout_fieldset_.StyleRef()); in PaintBoxDecorationBackground()
99 .RecordHitTestData(paint_info, paint_rect, layout_fieldset_); in PaintBoxDecorationBackground()
108 PhysicalRect paint_rect(paint_offset, layout_fieldset_.Size()); in PaintMask() local
119 paint_rect.Contract(fieldset_paint_info.border_outsets); in PaintMask()
123 BoxPainter(layout_fieldset_).PaintMaskImages(paint_info, paint_rect); in PaintMask()
H A Dinline_box_painter_base.cc82 const PhysicalRect& paint_rect, in PaintFillLayer() argument
90 box_painter.PaintFillLayer(paint_info, c, fill_layer, paint_rect, in PaintFillLayer()
99 multi_line ? PaintRectForImageStrip(paint_rect, style_.Direction()) in PaintFillLayer()
100 : paint_rect; in PaintFillLayer()
102 paint_info.context.Clip(PixelSnappedIntRect(paint_rect)); in PaintFillLayer()
105 paint_rect.size); in PaintFillLayer()
H A Dview_painter.cc282 IntRect paint_rect = pixel_snapped_background_rect; in PaintRootElementGroup() local
295 paint_rect); in PaintRootElementGroup()
296 if (paint_rect.IsEmpty()) in PaintRootElementGroup()
301 background_image_offset = PhysicalOffset(paint_rect.Location()); in PaintRootElementGroup()
326 recorder.UniteVisualRect(paint_rect); in PaintRootElementGroup()
358 paint_rect, base_background_color, in PaintRootElementGroup()
374 paint_rect, combined_background_color, in PaintRootElementGroup()
380 context.FillRect(paint_rect, Color(), SkBlendMode::kClear); in PaintRootElementGroup()
388 PhysicalRect(paint_rect), in PaintRootElementGroup()
H A Dtable_row_painter.cc76 PhysicalRect paint_rect(paint_offset, layout_table_row_.Size()); in PaintBoxDecorationBackground() local
79 .RecordHitTestData(local_paint_info, paint_rect, layout_table_row_); in PaintBoxDecorationBackground()
98 BoxPainterBase::PaintNormalBoxShadow(local_paint_info, paint_rect, in PaintBoxDecorationBackground()
113 paint_rect.Width().ToUnsigned() * paint_rect.Height().ToUnsigned()); in PaintBoxDecorationBackground()
122 local_paint_info, paint_rect, layout_table_row_.StyleRef()); in PaintBoxDecorationBackground()
H A Dhtml_canvas_painter.cc38 PhysicalRect paint_rect = layout_html_canvas_.ReplacedContentRect(); in PaintReplaced() local
39 paint_rect.Move(paint_offset); in PaintReplaced()
52 IntRect pixel_snapped_rect = PixelSnappedIntRect(paint_rect); in PaintReplaced()
71 canvas->Paint(context, paint_rect, flatten_composited_layers); in PaintReplaced()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/
H A Dbox_painter.cc60 PhysicalRect paint_rect; in PaintBoxDecorationBackground() local
71 paint_rect.Move(contents_paint_state->PaintOffset()); in PaintBoxDecorationBackground()
76 paint_rect.Expand(layout_box_.BorderBoxOutsets()); in PaintBoxDecorationBackground()
81 paint_rect = layout_box_.PhysicalBorderBoxRect(); in PaintBoxDecorationBackground()
82 paint_rect.Move(paint_offset); in PaintBoxDecorationBackground()
94 paint_rect, *background_client); in PaintBoxDecorationBackground()
123 const PhysicalRect& paint_rect, in PaintBoxDecorationBackgroundWithRect() argument
151 paint_info, paint_rect, style, true, true, in PaintBoxDecorationBackgroundWithRect()
179 PaintBackground(paint_info, paint_rect, in PaintBoxDecorationBackgroundWithRect()
207 paint_info, paint_rect, style, in PaintBoxDecorationBackgroundWithRect()
[all …]
H A Dtable_cell_painter.cc38 auto paint_rect = in PaintContainerBackgroundBehindCell() local
44 const PhysicalRect& paint_rect, in PaintBackground() argument
66 .PaintFillLayers(paint_info, c, bg_layer, paint_rect, geometry); in PaintBackground()
83 PhysicalRect paint_rect; in PaintBoxDecorationBackground() local
88 paint_rect = layout_table_cell_.PhysicalLayoutOverflowRect(); in PaintBoxDecorationBackground()
90 paint_rect.Move(contents_paint_state->PaintOffset()); in PaintBoxDecorationBackground()
91 paint_rect.Expand(layout_table_cell_.BorderBoxOutsets()); in PaintBoxDecorationBackground()
95 paint_rect = PaintRectNotIncludingVisualOverflow(paint_offset); in PaintBoxDecorationBackground()
110 PaintBackground(paint_info, paint_rect, layout_table_cell_); in PaintBoxDecorationBackground()
117 auto inner_rect = paint_rect; in PaintBoxDecorationBackground()
[all …]
H A Dinline_flow_box_painter.cc86 LayoutRect clip_rect(paint_rect); in ClipRectForNinePieceImageStrip()
90 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in ClipRectForNinePieceImageStrip()
93 clip_rect.SetX(paint_rect.X() - outsets.Left()); in ClipRectForNinePieceImageStrip()
99 clip_rect.SetX(paint_rect.X() - outsets.Left()); in ClipRectForNinePieceImageStrip()
102 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in ClipRectForNinePieceImageStrip()
112 const LayoutRect& paint_rect, in PaintRectForImageStrip() argument
141 paint_rect.X() - in PaintRectForImageStrip()
144 paint_rect.Y() - in PaintRectForImageStrip()
280 LayoutRect(paint_rect.Location(), paint_rect.Size()), in PaintMask()
353 info, PhysicalRectToBeNoop(paint_rect), s, in PaintNormalBoxShadow()
[all …]
H A Dfieldset_painter.cc39 PhysicalRect paint_rect(paint_offset, layout_fieldset_.Size()); in PaintBoxDecorationBackground() local
52 paint_rect.Contract(fieldset_paint_info.border_outsets); in PaintBoxDecorationBackground()
58 BoxPainterBase::PaintNormalBoxShadow(paint_info, paint_rect, in PaintBoxDecorationBackground()
66 paint_rect, geometry); in PaintBoxDecorationBackground()
70 paint_info, paint_rect, layout_fieldset_.StyleRef()); in PaintBoxDecorationBackground()
89 paint_rect, layout_fieldset_.StyleRef()); in PaintBoxDecorationBackground()
94 .RecordHitTestData(paint_info, paint_rect, layout_fieldset_); in PaintBoxDecorationBackground()
103 PhysicalRect paint_rect(paint_offset, layout_fieldset_.Size()); in PaintMask() local
114 paint_rect.Contract(fieldset_paint_info.border_outsets); in PaintMask()
118 BoxPainter(layout_fieldset_).PaintMaskImages(paint_info, paint_rect); in PaintMask()
H A Dinline_box_painter_base.cc84 const PhysicalRect& paint_rect, in PaintFillLayer() argument
92 box_painter.PaintFillLayer(paint_info, c, fill_layer, paint_rect, in PaintFillLayer()
101 multi_line ? PaintRectForImageStrip(paint_rect, style_.Direction()) in PaintFillLayer()
102 : paint_rect; in PaintFillLayer()
104 paint_info.context.Clip(PixelSnappedIntRect(paint_rect)); in PaintFillLayer()
107 paint_rect.size); in PaintFillLayer()
H A Dhtml_canvas_painter.cc36 PhysicalRect paint_rect = layout_html_canvas_.ReplacedContentRect(); in PaintReplaced() local
37 paint_rect.Move(paint_offset); in PaintReplaced()
45 IntRect pixel_snapped_rect = PixelSnappedIntRect(paint_rect); in PaintReplaced()
64 context, paint_rect, in PaintReplaced()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/tests/
H A Dtest_paint_aggregator.cc165 pp::Rect paint_rect(4, 4, 2, 2); in TestContainedPaintAfterScroll() local
166 greg.InvalidateRect(paint_rect); in TestContainedPaintAfterScroll()
183 pp::Rect paint_rect(4, 4, 2, 2); in TestContainedPaintBeforeScroll() local
184 greg.InvalidateRect(paint_rect); in TestContainedPaintBeforeScroll()
196 paint_rect.Offset(2, 0); in TestContainedPaintBeforeScroll()
235 greg.InvalidateRect(paint_rect); in TestLargeContainedPaintAfterScroll()
250 greg.InvalidateRect(paint_rect); in TestLargeContainedPaintBeforeScroll()
268 greg.InvalidateRect(paint_rect); in TestOverlappingPaintBeforeScroll()
291 greg.InvalidateRect(paint_rect); in TestOverlappingPaintAfterScroll()
308 greg.InvalidateRect(paint_rect); in TestDisjointPaintBeforeScroll()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/ng/
H A Dng_inline_box_fragment_painter.cc238 const PhysicalRect& paint_rect, in PaintRectForImageStrip() argument
252 return PhysicalRect(paint_rect.X() - offset_on_line, paint_rect.Y(), in PaintRectForImageStrip()
255 return PhysicalRect(paint_rect.X(), paint_rect.Y() - offset_on_line, in PaintRectForImageStrip()
263 const PhysicalRect& paint_rect) { in NGClipRectForNinePieceImageStrip() argument
264 PhysicalRect clip_rect(paint_rect); in NGClipRectForNinePieceImageStrip()
267 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in NGClipRectForNinePieceImageStrip()
270 clip_rect.SetX(paint_rect.X() - outsets.Left()); in NGClipRectForNinePieceImageStrip()
276 clip_rect.SetX(paint_rect.X() - outsets.Left()); in NGClipRectForNinePieceImageStrip()
279 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in NGClipRectForNinePieceImageStrip()
321 const PhysicalRect& paint_rect) { in PaintNormalBoxShadow() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/ng/
H A Dng_inline_box_fragment_painter.cc263 const PhysicalRect& paint_rect, in PaintRectForImageStrip() argument
277 return PhysicalRect(paint_rect.X() - offset_on_line, paint_rect.Y(), in PaintRectForImageStrip()
278 total_width, paint_rect.Height()); in PaintRectForImageStrip()
280 return PhysicalRect(paint_rect.X(), paint_rect.Y() - offset_on_line, in PaintRectForImageStrip()
281 paint_rect.Width(), total_width); in PaintRectForImageStrip()
288 const PhysicalRect& paint_rect) { in NGClipRectForNinePieceImageStrip() argument
289 PhysicalRect clip_rect(paint_rect); in NGClipRectForNinePieceImageStrip()
292 clip_rect.SetX(paint_rect.X() - outsets.Left()); in NGClipRectForNinePieceImageStrip()
298 clip_rect.SetY(paint_rect.Y() - outsets.Top()); in NGClipRectForNinePieceImageStrip()
339 const PhysicalRect& paint_rect) { in PaintNormalBoxShadow() argument
[all …]
H A Dng_fieldset_painter.cc77 PhysicalRect paint_rect(paint_offset, fieldset_size); in PaintBoxDecorationBackground() local
90 PhysicalRect contracted_rect(paint_rect); in PaintBoxDecorationBackground()
134 legend_cutout_rect.Move(paint_rect.offset); in PaintBoxDecorationBackground()
160 PhysicalRect paint_rect(paint_offset, fieldset_.Size()); in PaintMask() local
161 paint_rect.Contract(CreateFieldsetPaintInfo().border_outsets); in PaintMask()
162 ng_box_painter.PaintMaskImages(paint_info, paint_rect, layout_object, in PaintMask()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/menu/
H A Dmenu_separator.cc39 gfx::Rect paint_rect(0, pos, width(), separator_thickness); in OnPaint() local
41 paint_rect.Inset(menu_config.padded_separator_left_margin, 0, 0, 0); in OnPaint()
43 paint_rect.Inset(1, 0); in OnPaint()
52 if (is_fractional_scale && paint_rect.y() == 0) in OnPaint()
53 paint_rect.set_y(1); in OnPaint()
57 params.menu_separator.paint_rect = &paint_rect; in OnPaint()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/menu/
H A Dmenu_separator.cc40 gfx::Rect paint_rect(0, pos, width(), separator_thickness); in OnPaint() local
42 paint_rect.Inset(menu_config.padded_separator_left_margin, 0, 0, 0); in OnPaint()
44 paint_rect.Inset(1, 0); in OnPaint()
53 if (is_fractional_scale && paint_rect.y() == 0) in OnPaint()
54 paint_rect.set_y(1); in OnPaint()
58 params.menu_separator.paint_rect = &paint_rect; in OnPaint()
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/widget/
H A Dcanvas.cpp1035 if (!paint_rect(rect)) { in paint()
1049 Canvas::paint_rect(Cairo::RectangleInt& rect) in paint_rect() function in Inkscape::UI::Widget::Canvas
1054 Geom::OptIntRect area = paint_rect & canvas_rect; in paint_rect()
1089 return paint_rect_internal(&setup, paint_rect); in paint_rect()
1234 assert(paint_rect.left() - _x0 >= 0); in paint_single_buffer()
1235 assert(paint_rect.top() - _y0 >= 0); in paint_single_buffer()
1236 assert(paint_rect.right() - _x0 <= store->get_width()); in paint_single_buffer()
1264 data += 4 * (paint_rect.left() - _x0) * (int)x_scale; in paint_single_buffer()
1301 for (int i=0; i<paint_rect.height(); ++i) { in paint_single_buffer()
1329 …Cairo::RectangleInt crect = { paint_rect.left(), paint_rect.top(), paint_rect.width(), paint_rect.… in paint_single_buffer()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/
H A Dlayout_table_box_component.cc44 const CullRect& paint_rect) { in UpdatePaintResult() argument
53 box.last_paint_rect_ != paint_rect) in UpdatePaintResult()
57 box.last_paint_rect_ = paint_rect; in UpdatePaintResult()
H A Dlayout_table_section_test.cc334 LayoutRect paint_rect(50, 50, 50, 50); in TEST_F() local
339 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
345 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
356 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
363 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
376 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
384 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/
H A Dlayout_table_box_component.cc44 const CullRect& paint_rect) { in UpdatePaintResult() argument
53 box.last_paint_rect_ != paint_rect) in UpdatePaintResult()
57 box.last_paint_rect_ = paint_rect; in UpdatePaintResult()
H A Dlayout_table_section_test.cc350 LayoutRect paint_rect(50, 50, 50, 50); in TEST_F() local
355 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
361 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
372 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
379 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
392 small_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()
400 big_section->DirtiedRowsAndEffectiveColumns(paint_rect, rows, columns); in TEST_F()

12345