Go to the source code of this file.
|
| REG_FIDDLE (Canvas_getBaseLayerSize, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_getBaseLayerSize |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Canvas_getBaseLayerSize.cpp.
5 {
11 SkIRect clipDeviceBounds = canvas.getDeviceClipBounds();
12 if (clipDeviceBounds.
isEmpty()) {
13 SkDebugf(
"Empty clip bounds is unexpected!\n");
14 }
16 SkISize baseLayerSize = canvas.getBaseLayerSize();
18}
19}
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)