Home
last modified time | relevance | path

Searched defs:rect (Results 1 – 25 of 1010) sorted by relevance

12345678910>>...41

/external/skia/src/utils/mac/
DSkCGGeometry.h27 static inline bool SkCGRectIsEmpty(const CGRect& rect) { in SkCGRectIsEmpty()
31 static inline CGFloat SkCGRectGetMinX(const CGRect& rect) { in SkCGRectGetMinX()
35 static inline CGFloat SkCGRectGetMaxX(const CGRect& rect) { in SkCGRectGetMaxX()
39 static inline CGFloat SkCGRectGetMinY(const CGRect& rect) { in SkCGRectGetMinY()
43 static inline CGFloat SkCGRectGetMaxY(const CGRect& rect) { in SkCGRectGetMaxY()
47 static inline CGFloat SkCGRectGetWidth(const CGRect& rect) { in SkCGRectGetWidth()
/external/fonttools/Lib/fontTools/misc/
DarrayTools.py60 def pointInRect(p, rect): argument
75 def pointsInRect(array, rect): argument
115 def normRect(rect): argument
133 def scaleRect(rect, x, y): argument
148 def offsetRect(rect, dx, dy): argument
163 def insetRect(rect, dx, dy): argument
218 def rectCenter(rect): argument
231 def rectArea(rect): argument
244 def intRect(rect): argument
/external/webrtc/modules/desktop_capture/
Ddesktop_geometry_unittest.cc18 DesktopRect rect = DesktopRect::MakeLTRB(1, 1, 2, 2); in TEST() local
24 DesktopRect rect = DesktopRect::MakeWH(1, 1); in TEST() local
38 DesktopRect rect; in TEST() local
52 DesktopRect rect; in TEST() local
70 DesktopRect rect = DesktopRect::MakeXYWH(100, 100, 100, 100); in TEST() local
/external/skqp/src/gpu/
DGrScissorState.h16 GrScissorState(const SkIRect& rect) : fEnabled(true), fRect(rect) {} in GrScissorState()
18 void set(const SkIRect& rect) { fRect = rect; fEnabled = true; } in set()
19 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& rect) { in intersect()
33 const SkIRect& rect() const { return fRect; } in rect() function
/external/pdfium/core/fxcrt/
Dfx_coordinates_unittest.cpp24 CFX_FloatRect rect(downwards); in TEST() local
32 CFX_FloatRect rect = CFX_FloatRect::GetBBox(nullptr, 0); in TEST() local
89 CFX_FloatRect rect; in TEST() local
143 CFX_FloatRect rect; in TEST() local
194 CFX_FloatRect rect; in TEST() local
216 CFX_FloatRect rect(-1.0f, -3.0f, 4.5f, 3.2f); in TEST() local
245 CFX_FloatRect rect; in TEST() local
269 CFX_FloatRect rect(-1.0f, -3.0f, 4.5f, 3.2f); in TEST() local
298 CFX_FloatRect rect; in TEST() local
324 CFX_FloatRect rect; in TEST() local
[all …]
/external/dng_sdk/source/
Ddng_rect.h251 dng_rect_real64 (const dng_rect &rect) in dng_rect_real64()
426 inline void HalfRect (dng_rect &rect) in HalfRect()
436 inline void DoubleRect (dng_rect &rect) in DoubleRect()
446 inline void InnerPadRect (dng_rect &rect, in InnerPadRect()
459 inline void OuterPadRect (dng_rect &rect, in OuterPadRect()
469 inline void InnerPadRectH (dng_rect &rect, in InnerPadRectH()
480 inline void InnerPadRectV (dng_rect &rect, in InnerPadRectV()
491 inline dng_rect MakeHalfRect (const dng_rect &rect) in MakeHalfRect()
504 inline dng_rect MakeDoubleRect (const dng_rect &rect) in MakeDoubleRect()
517 inline dng_rect MakeInnerPadRect (const dng_rect &rect, in MakeInnerPadRect()
[all …]
/external/lzma/CPP/Windows/Control/
DDialog.cpp82 static bool GetWorkAreaRect(RECT *rect) in GetWorkAreaRect()
95 RECT rect; in IsDialogSizeOK() local
108 RECT rect; in GetMargins() local
122 RECT rect; in Units_To_Pixels_X() local
134 RECT rect; in GetItemSizes() local
142 void CDialog::GetClientRectOfItem(int id, RECT &rect) in GetClientRectOfItem()
159 RECT rect; in NormalizeSize() local
187 RECT workRect, rect; in NormalizePosition() local
/external/skia/src/gpu/effects/generated/
DGrAARectEffect.h23 SkRect rect) { in Make()
31 SkRect rect; variable
36 SkRect rect) in GrAARectEffect()
/external/skia/src/gpu/
DGrScissorState.h29 bool set(const SkIRect& rect) { in set()
34 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& rect) { in intersect()
73 const SkIRect& rect() const { in rect() function
/external/skqp/src/gpu/effects/
DGrAARectEffect.h19 const SkRect& rect() const { return fRect; } in rect() function
20 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkRect rect) { in Make()
28 GrAARectEffect(GrClipEdgeType edgeType, SkRect rect) in GrAARectEffect()
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp96 const CFX_RectF& rect, in DrawBorder()
112 const CFX_RectF& rect, in FillBackground()
119 const CFX_RectF& rect, in FillSolidRect()
133 const CFX_RectF& rect, in DrawFocus()
149 const CFX_RectF& rect, in DrawArrow()
201 const CFX_RectF& rect, in DrawBtn()
214 const CFX_RectF& rect, in DrawArrowBtn()
/external/skia/gm/
Dcrbug_1177833.cpp28 SkRect rect = {SkBits2Float(0x00000000), variable
53 SkRect rect = {SkBits2Float(0x00000000), variable
80 SkRect rect = {SkBits2Float(0x00000000), variable
Dpathcontourstart.cpp57 drawDirs(canvas, [](const SkRect& rect, SkPathDirection dir, unsigned startIndex) { in onDraw()
61 drawDirs(canvas, [](const SkRect& rect, SkPathDirection dir, unsigned startIndex) { in onDraw()
65 drawDirs(canvas, [](const SkRect& rect, SkPathDirection dir, unsigned startIndex) { in onDraw()
72 drawDirs(canvas, [](const SkRect& rect, SkPathDirection dir, unsigned startIndex) { in onDraw()
78 drawDirs(canvas, [](const SkRect& rect, SkPathDirection dir, unsigned startIndex) { in onDraw()
/external/skia/src/core/
DSkAnnotation.cpp28 void SkAnnotateRectWithURL(SkCanvas* canvas, const SkRect& rect, SkData* value) { in SkAnnotateRectWithURL()
39 const SkRect rect = SkRect::MakeXYWH(point.x(), point.y(), 0, 0); in SkAnnotateNamedDestination() local
43 void SkAnnotateLinkToDestination(SkCanvas* canvas, const SkRect& rect, SkData* name) { in SkAnnotateLinkToDestination()
DSkValidationUtils.h23 static inline bool SkIsValidIRect(const SkIRect& rect) { in SkIsValidIRect()
29 static inline bool SkIsValidRect(const SkRect& rect) { in SkIsValidRect()
/external/skqp/src/core/
DSkAnnotation.cpp28 void SkAnnotateRectWithURL(SkCanvas* canvas, const SkRect& rect, SkData* value) { in SkAnnotateRectWithURL()
39 const SkRect rect = SkRect::MakeXYWH(point.x(), point.y(), 0, 0); in SkAnnotateNamedDestination() local
43 void SkAnnotateLinkToDestination(SkCanvas* canvas, const SkRect& rect, SkData* name) { in SkAnnotateLinkToDestination()
DSkValidationUtils.h23 static inline bool SkIsValidIRect(const SkIRect& rect) { in SkIsValidIRect()
29 static inline bool SkIsValidRect(const SkRect& rect) { in SkIsValidRect()
/external/libchrome/ui/gfx/geometry/
Drect_conversions.cc26 Rect ToEnclosedRect(const RectF& rect) { in ToEnclosedRect()
33 Rect ToNearestRect(const RectF& rect) { in ToNearestRect()
57 bool IsNearestRectWithinDistance(const gfx::RectF& rect, float distance) { in IsNearestRectWithinDistance()
75 Rect ToFlooredRectDeprecated(const RectF& rect) { in ToFlooredRectDeprecated()
Drect.h271 inline Rect ScaleToEnclosingRect(const Rect& rect, in ScaleToEnclosingRect()
297 inline Rect ScaleToEnclosingRect(const Rect& rect, float scale) { in ScaleToEnclosingRect()
303 inline Rect ScaleToEnclosingRectSafe(const Rect& rect, in ScaleToEnclosingRectSafe()
315 inline Rect ScaleToEnclosingRectSafe(const Rect& rect, float scale) { in ScaleToEnclosingRectSafe()
319 inline Rect ScaleToEnclosedRect(const Rect& rect, in ScaleToEnclosedRect()
341 inline Rect ScaleToEnclosedRect(const Rect& rect, float scale) { in ScaleToEnclosedRect()
351 inline Rect ScaleToRoundedRect(const Rect& rect, float x_scale, float y_scale) { in ScaleToRoundedRect()
376 inline Rect ScaleToRoundedRect(const Rect& rect, float scale) { in ScaleToRoundedRect()
/external/igt-gpu-tools/lib/
Digt_draw.c75 struct rect { struct
76 int x;
77 int y;
78 int w;
79 int h;
297 struct rect *rect, uint32_t color, int bpp) in draw_rect_ptr_linear()
309 int swizzle, struct rect *rect, uint32_t color, in draw_rect_ptr_tiled()
333 static void draw_rect_mmap_cpu(int fd, struct buf_data *buf, struct rect *rect, in draw_rect_mmap_cpu()
368 static void draw_rect_mmap_gtt(int fd, struct buf_data *buf, struct rect *rect, in draw_rect_mmap_gtt()
384 static void draw_rect_mmap_wc(int fd, struct buf_data *buf, struct rect *rect, in draw_rect_mmap_wc()
[all …]
/external/skqp/gm/
Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
/external/skia/tests/
DPathOpsDRectTest.cpp31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { in setRawBounds()
37 static void setRawBounds(const SkDCubic& cubic, SkDRect* rect) { in setRawBounds()
46 SkDRect rect, rect2; in DEF_TEST() local
/external/skqp/tests/
DPathOpsDRectTest.cpp31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { in setRawBounds()
37 static void setRawBounds(const SkDCubic& cubic, SkDRect* rect) { in setRawBounds()
46 SkDRect rect, rect2; in DEF_TEST() local
/external/pdfium/core/fpdfdoc/
Dcpdf_annot_unittest.cpp30 CFX_FloatRect rect = CPDF_Annot::RectFromQuadPointsArray(array.Get(), 0); in TEST() local
45 CFX_FloatRect rect = CPDF_Annot::BoundingRectFromQuadPoints(dict.Get()); in TEST() local
78 CFX_FloatRect rect = CPDF_Annot::RectFromQuadPoints(dict.Get(), 0); in TEST() local
/external/skia/docs/examples/
DIRect_size.cpp7 auto debugster = [](const char* prefix, const SkIRect& rect) -> void { in draw()
13 SkIRect rect = {20, 30, 40, 50}; in draw() local

12345678910>>...41