Lines Matching defs:mode
52 #define DEBUGCANVAS_ATTRIBUTE_MODE "mode"
383 const auto mode = paint.getBlendMode_or(SkBlendMode::kSrcOver);
384 if (mode != SkBlendMode::kSrcOver) {
385 SkASSERT(static_cast<size_t>(mode) < SK_ARRAY_COUNT(gBlendModeMap));
387 gBlendModeMap[static_cast<size_t>(mode)]);
573 static const char* pointmode_name(SkCanvas::PointMode mode) {
574 switch (mode) {
578 default: SkASSERT(false); return "<invalid point mode>";
1589 DrawPointsCommand::DrawPointsCommand(SkCanvas::PointMode mode,
1593 : INHERITED(kDrawPoints_OpType), fMode(mode), fPts(pts, count), fPaint(paint) {}
1876 SkBlendMode mode)
1882 , fMode(mode) {