Go to the source code of this file.
|
static void | draw_atlas (SkCanvas *canvas, SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect *cull, const SkSamplingOptions &sampling, const SkPaint *paint) |
|
static void | draw_atlas_sim (SkCanvas *canvas, SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect *cull, const SkSamplingOptions &sampling, const SkPaint *paint) |
|
◆ DrawAtlasProc
◆ draw_atlas()
Definition at line 27 of file ShipSlide.cpp.
29 {
32}
void drawAtlas(const SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions &sampling, const SkRect *cullRect, const SkPaint *paint)
sk_sp< const SkImage > atlas
PODArray< SkColor > colors
SkSamplingOptions sampling
◆ draw_atlas_sim()
Definition at line 34 of file ShipSlide.cpp.
36 {
40
46 }
47}
@ kFast_SrcRectConstraint
sample outside bounds; faster
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
void concat(const SkMatrix &matrix)
unsigned useCenter Optional< SkMatrix > matrix
◆ kGrid
◆ kHeight
◆ kWidth