Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/c/
Dsk_surface.cpp89 static const SkRect& AsRect(const sk_rect_t& crect) { in AsRect() argument
90 return reinterpret_cast<const SkRect&>(crect); in AsRect()
204 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
209 as_path(cpath)->addRect(AsRect(*crect), dir); in sk_path_add_rect()
212 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
217 as_path(cpath)->addOval(AsRect(*crect), dir); in sk_path_add_oval()
220 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
224 if (crect) { in sk_path_get_bounds()
225 *crect = ToRect(SkRect::MakeEmpty()); in sk_path_get_bounds()
230 if (crect) { in sk_path_get_bounds()
[all …]
/third_party/skia/src/c/
Dsk_surface.cpp89 static const SkRect& AsRect(const sk_rect_t& crect) { in AsRect() argument
90 return reinterpret_cast<const SkRect&>(crect); in AsRect()
210 void sk_pathbuilder_add_rect(sk_pathbuilder_t* cbuilder, const sk_rect_t* crect, sk_path_direction_… in sk_pathbuilder_add_rect() argument
215 as_pathbuilder(cbuilder)->addRect(AsRect(*crect), dir); in sk_pathbuilder_add_rect()
218 void sk_pathbuilder_add_oval(sk_pathbuilder_t* cbuilder, const sk_rect_t* crect, sk_path_direction_… in sk_pathbuilder_add_oval() argument
223 as_pathbuilder(cbuilder)->addOval(AsRect(*crect), dir); in sk_pathbuilder_add_oval()
238 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
242 if (crect) { in sk_path_get_bounds()
243 *crect = ToRect(SkRect::MakeEmpty()); in sk_path_get_bounds()
248 if (crect) { in sk_path_get_bounds()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/
Dwindows_screenshot.c175 RECT crect; in ScreenshotWindow() local
176 if(!GetClientRect(hwnd, &crect)) in ScreenshotWindow()
183 width = crect.right; in ScreenshotWindow()
184 height = crect.bottom; in ScreenshotWindow()