Go to the source code of this file.
|
| REG_FIDDLE (Canvas_drawImageNine, 256, 128, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_drawImageNine |
, |
|
|
256 |
, |
|
|
128 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Canvas_drawImageNine.cpp.
5 {
15 int top = 0;
19 gray += 0x001f1f1f;
20 top = bottom;
21 }
23 }
26 for (auto dest: { 20, 30, 40, 60, 90 } ) {
30 }
31}
32}
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
static SkScalar center(float pos0, float pos1)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawImageNine(const SkImage *image, const SkIRect ¢er, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr)
static constexpr SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b)
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeWH(float w, float h)