221 {
226
228
230
232
235
240
243
250 for (
size_t m = 0;
m < std::size(matrices); ++
m) {
252 canvas->
concat(matrices[m]);
258 }
263 }
266 std::copy_n(fSet, kM * kN, scaledSet);
267 for (int i = 0; i < kM * kN; ++i) {
272 scaledSet[i].
fAlpha = 0 == (i % 3) ? 0.4f : 1.f;
273 }
274 for (
size_t m = 0;
m < std::size(matrices); ++
m) {
276 canvas->
concat(matrices[m]);
282 }
286 }
287 }
@ kSrcOver
r = s + (1-sa)*d
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorWHITE
void translate(SkScalar dx, SkScalar dy)
@ kFast_SrcRectConstraint
sample outside bounds; faster
void experimental_DrawEdgeAAImageSet(const ImageSetEntry imageSet[], int cnt, const SkPoint dstClips[], const SkMatrix preViewMatrices[], const SkSamplingOptions &, const SkPaint *paint=nullptr, SrcRectConstraint constraint=kStrict_SrcRectConstraint)
void concat(const SkMatrix &matrix)
SkMatrix & postTranslate(SkScalar dx, SkScalar dy)
SkMatrix & postRotate(SkScalar degrees, SkScalar px, SkScalar py)
SkMatrix & postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & setRotate(SkScalar degrees, SkScalar px, SkScalar py)
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
SkScalar fTop
smaller y-axis bounds