Lines Matching refs:fCanvas
17 SkCanvas* fCanvas; member in GraphicsPort
20 GraphicsPort(SkCanvas* canvas) : fCanvas(canvas) {} in GraphicsPort()
23 void save() { fCanvas->save(); } in save()
25 fCanvas->saveLayerAlpha(&bounds, alpha); in saveLayer()
27 void restore() { fCanvas->restore(); } in restore()
29 void translate(float x, float y) { fCanvas->translate(x, y); } in translate()
30 void scale(float s) { fCanvas->scale(s, s); } in scale()
31 void clip(const SkRect& r) { fCanvas->clipRect(r); } in clip()
36 fCanvas->drawOval(r, p); in drawOval()
42 fCanvas->drawRect(r, p); in drawRect()
45 SkCanvas* peekCanvas() const { return fCanvas; } in peekCanvas()
53 SkCanvas* canvas = (SkCanvas*)fCanvas->accessTopRasterHandle(); in drawRect()
97 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect()
168 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); in drawRect()
177 fCanvas->drawRect(r, paint); in drawRect()