Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_getBaseLayerSize |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_getBaseLayerSize.cpp.
4 {
10 SkIRect clipDeviceBounds = canvas.getDeviceClipBounds();
11 if (clipDeviceBounds.
isEmpty()) {
12 SkDebugf(
"Empty clip bounds is unexpected!\n");
13 }
15 SkISize baseLayerSize = canvas.getBaseLayerSize();
17}
18}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
@ kUnknown_SkPixelGeometry
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
constexpr int32_t height() const
constexpr int32_t width() const
constexpr int32_t width() const
constexpr int32_t height() const
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeWH(float w, float h)