Home
last modified time | relevance | path

Searched refs:rect (Results 501 - 525 of 1508) sorted by relevance

1...<<21222324252627282930>>...61

/third_party/skia/include/core/
H A DSkPath.h521 /** Returns true if rect is contained by SkPath.
522 May return false when rect is contained by SkPath.
525 rect may share points and edges with SkPath and be contained.
526 Returns true if rect is empty, that is, it has zero width or height; and
527 the SkPoint or line described by rect is contained by SkPath.
529 @param rect SkRect, line, or SkPoint checked for containment
530 @return true if rect is contained
534 bool conservativelyContainsRect(const SkRect& rect) const;
1031 If false: rect, isClosed, and direction are unchanged.
1032 If true: rect, isClose
1077 addRect(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) addRect() argument
1840 setBounds(const SkRect& rect) setBounds() argument
[all...]
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_layer.h143 virtual int32_t SetLayerSize(IRect *rect);
144 virtual int32_t SetLayerCrop(IRect *rect);
150 virtual int32_t SetLayerVisibleRegion(uint32_t num, IRect *rect);
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_layer.h141 virtual int32_t SetLayerSize(IRect *rect);
142 virtual int32_t SetLayerCrop(IRect *rect);
148 virtual int32_t SetLayerVisibleRegion(uint32_t num, IRect *rect);
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingPathLargeValueTest.cpp212 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(50, 50, 2160, 4096); in HWTEST_F() local
213 OH_Drawing_RoundRect* roundRect = OH_Drawing_RoundRectCreate(rect, 20, 20); in HWTEST_F()
219 OH_Drawing_RectDestroy(rect); in HWTEST_F()
/third_party/cups-filters/filter/pdftopdf/
H A Dqpdf_pdftopdf_processor.h10 virtual void add_border_rect(const PageRect &rect,BorderType border,float fscale);
14 virtual void add_label(const PageRect &rect, const std::string label);
17 void debug(const PageRect &rect,float xpos,float ypos);
/third_party/skia/samplecode/
H A DSampleAnimatedText.cpp75 const SkRect rect = SkRect::MakeXYWH(512.0f, 10.0f, 512.0f, 512.0f); variable
76 canvas->drawImageRect(image.get(), rect, rect, sampling, &paint,
/third_party/skia/src/gpu/ops/
H A DClearOp.cpp20 return !a.enabled() || (b.enabled() && a.rect().contains(b.rect())); in contains_scissor()
52 this->setBounds(SkRect::Make(scissor.rect()), HasAABloat::kNo, IsHairline::kNo); in ClearOp()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.hpp69 void setScissorRect(const sw::Rect &rect);
88 bool validRectangle(const sw::Rect *rect, sw::Surface *surface);
89 bool validRectangle(const sw::RectF *rect, sw::Surface *surface);
/third_party/skia/tests/
H A DSkbug6653.cpp35 SkRect rect = SkRect::MakeWH(50, 50); in test_bug_6653() local
56 s1->getCanvas()->drawOval(rect, paint); in test_bug_6653()
73 s4->getCanvas()->drawOval(rect, paint); in test_bug_6653()
/third_party/skia/docs/examples/
H A Dstrokerect_gm.cpp35 const SkRect& rect = gRects[j]; in REG_FIDDLE() local
38 path.addRect(rect); in REG_FIDDLE()
48 canvas->drawRect(rect, paint); in REG_FIDDLE()
/third_party/skia/gm/
H A Dblurignorexform.cpp45 : DrawType::kRect == fDrawType ? "rect" : "rrect");
78 SkRect rect = SkRect::MakeXYWH(coord - kRadius , coord - kRadius, variable
80 SkRRect rrect = SkRRect::MakeRectXY(rect, kRadius/2.0f, kRadius/2.0f);
89 canvas->drawRect(rect, paint);
H A Dclippedbitmapshaders.cpp106 SkRect rect = SkRect::MakeXYWH(xOrigin, yOrigin, variable
109 canvas->clipRect(rect);
110 canvas->drawRect(rect, paint);
H A Ddrawminibitmaprect.cpp56 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() local
65 canvas->drawRect(rect, paint); in makebm()
66 rect.inset(wScalar / 8, hScalar / 8); in makebm()
123 // rect stays rect
H A Dpicture.cpp90 // Exercise drawing a picture with a cull rect of non-zero top-left corner.
112 SkRect rect = SkRect::MakeLTRB(0, 80, 100, 100); variable
114 // Make picture complex enough to trigger the cull rect and bbh (RTree) computations.
117 canvas->drawRect(rect, paint);
118 canvas->drawOval(rect, paint);
/third_party/skia/modules/skparagraph/include/
H A DParagraphPainter.h57 virtual void drawRect(const SkRect& rect, const SkPaintOrID& paint) = 0;
59 virtual void drawFilledRect(const SkRect& rect, const DecorationStyle& decorStyle) = 0;
67 virtual void clipRect(const SkRect& rect) = 0;
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_mipi_dbi.c255 struct drm_rect *rect) in mipi_dbi_fb_dirty()
258 unsigned int height = rect->y2 - rect->y1; in mipi_dbi_fb_dirty()
259 unsigned int width = rect->x2 - rect->x1; in mipi_dbi_fb_dirty()
268 DRM_DEBUG_KMS("Flushing [FB:%d] " DRM_RECT_FMT "\n", fb->base.id, DRM_RECT_ARG(rect)); in mipi_dbi_fb_dirty()
273 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap); in mipi_dbi_fb_dirty()
280 mipi_dbi_set_window_address(dbidev, rect->x1, rect->x2 - 1, rect in mipi_dbi_fb_dirty()
254 mipi_dbi_fb_dirty(struct iosys_map *src, struct drm_framebuffer *fb, struct drm_rect *rect) mipi_dbi_fb_dirty() argument
322 struct drm_rect rect; mipi_dbi_pipe_update() local
360 struct drm_rect rect = { mipi_dbi_enable_flush() local
[all...]
/third_party/skia/src/gpu/
H A DSurfaceContext.cpp714 const SkIRect& rect, in asyncReadPixels()
718 SkASSERT(rect.fLeft >= 0 && rect.fRight <= this->width()); in asyncReadPixels()
719 SkASSERT(rect.fTop >= 0 && rect.fBottom <= this->height()); in asyncReadPixels()
728 auto transferResult = this->transferPixels(SkColorTypeToGrColorType(colorType), rect); in asyncReadPixels()
731 auto ii = SkImageInfo::Make(rect.size(), colorType, this->colorInfo().alphaType(), in asyncReadPixels()
738 SkIPoint pt{rect.fLeft, rect.fTop}; in asyncReadPixels()
761 rect in asyncReadPixels()
713 asyncReadPixels(GrDirectContext* dContext, const SkIRect& rect, SkColorType colorType, ReadPixelsCallback callback, ReadPixelsContext callbackContext) asyncReadPixels() argument
1234 transferPixels(GrColorType dstCT, const SkIRect& rect) transferPixels() argument
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_fb_helper.h242 const struct fb_fillrect *rect);
249 const struct fb_fillrect *rect);
379 const struct fb_fillrect *rect) in drm_fb_helper_sys_fillrect()
394 const struct fb_fillrect *rect) in drm_fb_helper_cfb_fillrect()
378 drm_fb_helper_sys_fillrect(struct fb_info *info, const struct fb_fillrect *rect) drm_fb_helper_sys_fillrect() argument
393 drm_fb_helper_cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) drm_fb_helper_cfb_fillrect() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalClearAttachmentTests.cpp146 const vk::VkClearRect rect = in iterate() local
148 vk::makeRect2D(WIDTH, HEIGHT), // VkRect2D rect; in iterate()
158 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
164 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
178 m_vk.cmdClearAttachments(*m_cmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalClearAttachmentTests.cpp146 const vk::VkClearRect rect = in iterate() local
148 vk::makeRect2D(WIDTH, HEIGHT), // VkRect2D rect; in iterate()
158 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
164 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
178 m_vk.cmdClearAttachments(*m_cmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_utils.h75 MTLViewport GetViewport(const gl::Rectangle &rect, double znear = 0, double zfar = 1);
76 MTLViewport GetViewportFlipY(const gl::Rectangle &rect,
80 MTLViewport GetViewport(const gl::Rectangle &rect,
85 MTLScissorRect GetScissorRect(const gl::Rectangle &rect,
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dglobal_state.cpp259 RECT rect; in DebuggerWaitDialogProc() local
264 ::GetWindowRect(GetDesktopWindow(), &rect); in DebuggerWaitDialogProc() local
265 ::SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
/third_party/skia/src/core/
H A DSkWriteBuffer.cpp115 void SkBinaryWriteBuffer::writeIRect(const SkIRect& rect) { in writeIRect() argument
116 fWriter.write(&rect, sizeof(SkIRect)); in writeIRect()
119 void SkBinaryWriteBuffer::writeRect(const SkRect& rect) { in writeRect() argument
120 fWriter.writeRect(rect); in writeRect()
H A DSkWriteBuffer.h60 virtual void writeIRect(const SkIRect& rect) = 0;
61 virtual void writeRect(const SkRect& rect) = 0;
122 void writeIRect(const SkIRect& rect) override;
123 void writeRect(const SkRect& rect) override;
/third_party/skia/tools/debugger/
H A DJsonWriteBuffer.cpp161 void JsonWriteBuffer::writeIRect(const SkIRect& rect) { in writeIRect() argument
163 DrawCommand::MakeJsonIRect(*fWriter, rect); in writeIRect()
166 void JsonWriteBuffer::writeRect(const SkRect& rect) { in writeRect() argument
167 this->append("rect"); in writeRect()
168 DrawCommand::MakeJsonRect(*fWriter, rect); in writeRect()

Completed in 15 milliseconds

1...<<21222324252627282930>>...61