232 {
233
235
236
237
240
241
242
244
245 {
247
251 }
252
255
256
257
258
260 {
268 }
269
275
276
280
281
282 for (
int i = 1; i < paints.
size(); ++i) {
287 blackFill);
288 }
289
292 0,
295 blackFill);
296 }
297
298
299 for (
int i = 0; i < pifPaints.
size(); ++i) {
301 canvas, pifPaints[i]);
302 }
303
304
305 for (
int i = 0; i < pifPaints.
size(); ++i) {
307 canvas, bmsPaints[i]);
308 }
309
310
312 for (
int j = 0; j < paints.
size(); ++j) {
315 canvas, paints[j]);
316 }
317 }
318
319 }
constexpr SkColor SK_ColorYELLOW
constexpr SkColor SK_ColorGREEN
Type::kYUV Type::kRGBA() int(0.7 *637)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void clear(SkColor color)
static sk_sp< SkImageFilter > Image(sk_sp< SkImage > image, const SkRect &srcRect, const SkRect &dstRect, const SkSamplingOptions &sampling)
static sk_sp< SkImageFilter > Picture(sk_sp< SkPicture > pic, const SkRect &targetRect)
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
static void draw_savelayer_with_paint(const SkIPoint &off, SkCanvas *canvas, const SkPaint &p)
static void draw_geom_with_paint(drawMth draw, const SkIPoint &off, SkCanvas *canvas, const SkPaint &p)
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
static void create_paints(TArray< SkPaint > *paints, sk_sp< SkImageFilter > source)
static constexpr SkIPoint Make(int32_t x, int32_t y)
static SkImageInfo MakeN32Premul(int width, int height)