Lines Matching refs:useAA
89 static void draw_normal_geom(SkCanvas* canvas, const SkPoint& offset, int geom, bool useAA) {
91 p.setAntiAlias(useAA);
161 void drawClippedGeom(SkCanvas* canvas, const SkPoint& offset, bool useAA) {
167 canvas->clipRect(create_rect(offset), useAA);
170 canvas->clipRRect(create_rrect(offset), useAA);
173 canvas->clipRRect(create_circle(offset), useAA);
176 canvas->clipPath(create_convex_path(offset), useAA);
179 canvas->clipPath(create_concave_path(offset), useAA);
185 canvas->clipRect(create_rect(offset), useAA);
191 canvas->clipRRect(create_rrect(offset), useAA);
197 canvas->clipPath(create_convex_path(offset), useAA);
203 canvas->clipPath(create_concave_path(offset), useAA);
220 void drawGeometry(SkCanvas* canvas, const SkPoint& offset, bool useAA) {
222 this->drawClippedGeom(canvas, offset, useAA);
225 draw_normal_geom(canvas, offset, fGeom, useAA);
228 this->drawClippedGeom(canvas, offset, useAA);