129 {
131 { false, InvertStyle::kNoInvert, 0.0f },
132 { false, InvertStyle::kInvertBrightness, 0.0f },
133 { false, InvertStyle::kInvertLightness, 0.0f },
134 { false, InvertStyle::kInvertLightness, 0.2f },
135 { true, InvertStyle::kNoInvert, 0.0f },
136 { true, InvertStyle::kInvertBrightness, 0.0f },
137 { true, InvertStyle::kInvertLightness, 0.0f },
138 { true, InvertStyle::kInvertLightness, 0.2f },
139 };
140
141 for (size_t i = 0; i < std::size(configs); ++i) {
150 }
151 }
void translate(SkScalar dx, SkScalar dy)
void scale(SkScalar sx, SkScalar sy)
static void draw_label(SkCanvas *canvas, const SkHighContrastConfig &config)
static void draw_scene(SkCanvas *canvas, const SkHighContrastConfig &config)