Home
last modified time | relevance | path

Searched refs:crect (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/c/
Dsk_surface.cpp161 static const SkRect& AsRect(const sk_rect_t& crect) { in AsRect() argument
162 return reinterpret_cast<const SkRect&>(crect); in AsRect()
289 void sk_path_add_rect(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_rect() argument
294 as_path(cpath)->addRect(AsRect(*crect), dir); in sk_path_add_rect()
297 void sk_path_add_oval(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_oval() argument
302 as_path(cpath)->addOval(AsRect(*crect), dir); in sk_path_add_oval()
305 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
309 if (crect) { in sk_path_get_bounds()
310 *crect = ToRect(SkRect::MakeEmpty()); in sk_path_get_bounds()
315 if (crect) { in sk_path_get_bounds()
[all …]
/external/skia/samplecode/
DOverView.cpp78 const SkRect crect = SkRect::MakeXYWH(cx - 0.5f, cy - 0.5f, 1, 1); in onFindClickHandler() local
82 if (this->bounds(loc).intersects(crect)) { in onFindClickHandler()