/external/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 51 , fCanvas(nullptr) // must be here for reset to work. in SkDeferredCanvas() 60 if (fCanvas) { in reset() 62 fCanvas = nullptr; in reset() 68 fCanvas = canvas; in reset() 114 fCanvas->save(); in emit() 118 fCanvas->clipRect(rec.fData.fBounds); in emit() 126 fCanvas->concat(mat); in emit() 255 fCanvas->saveLayer(rec); in getSaveLayerStrategy() 272 fCanvas->restore(); in willRestore() 282 fCanvas->concat(matrix); in didConcat() [all …]
|
D | SkTextBox.cpp | 244 SkCanvas* fCanvas; member in CanvasVisitor 246 CanvasVisitor(SkCanvas* canvas) : fCanvas(canvas) {} in CanvasVisitor() 250 fCanvas->drawText(text, length, x, y, paint); in operator ()()
|
D | SkNWayCanvas.cpp | 42 fCanvas = fList[fIndex++]; in next() 47 SkCanvas* operator->() { return fCanvas; } in operator ->() 52 SkCanvas* fCanvas; member in SkNWayCanvas::Iter
|
/external/skia/src/core/ |
D | SkSpecialSurface.cpp | 18 , fCanvas(nullptr) { in SkSpecialSurface_Base() 24 void reset() { fCanvas.reset(); } in reset() 27 SkCanvas* onGetCanvas() { return fCanvas.get(); } in onGetCanvas() 32 std::unique_ptr<SkCanvas> fCanvas; // initialized by derived classes in ctors member in SkSpecialSurface_Base 75 fCanvas.reset(new SkCanvas(fBitmap, this->props())); in SkSpecialSurface_Raster() 76 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Raster() 78 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Raster() 136 fCanvas.reset(new SkCanvas(device.get())); in SkSpecialSurface_Gpu() 137 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Gpu() 139 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Gpu() [all …]
|
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 21 fCanvas = canvas; in init() 101 SkCanvas* canvas = data.fCanvas; in draw()
|
D | SkRecordDraw.h | 52 , fCanvas(canvas) 74 SkCanvas* fCanvas; variable
|
D | SkCanvasPriv.h | 19 SkCanvas* fCanvas;
|
D | SkOverdrawCanvas.cpp | 25 : fCanvas(canvas) in ProcessOneGlyphBounds() 33 fCanvas->onDrawRect(SkRect::MakeLTRB(left, top, right, bottom), SkPaint()); in operator ()() 37 SkOverdrawCanvas* fCanvas; member in __anon40fad5ab0111::ProcessOneGlyphBounds
|
D | SkRecordDraw.cpp | 75 #define DRAW(T, call) template <> void Draw::draw(const T& r) { fCanvas->call; } 105 fCanvas->drawImageLattice(r.image.get(), lattice, r.dst, r.paint); in draw() 137 fCanvas->drawDrawable(fDrawables[r.index], r.matrix); in draw() 139 fCanvas->drawPicture(fDrawablePicts[r.index], r.matrix, nullptr); in draw()
|
/external/skia/src/xps/ |
D | SkXPSDocument.cpp | 38 fCanvas.reset(new SkCanvas(&fDevice)); in onBeginPage() 39 return fCanvas.get(); in onBeginPage() 43 SkASSERT(fCanvas.get()); in onEndPage() 44 fCanvas->flush(); in onEndPage() 45 fCanvas.reset(nullptr); in onEndPage() 50 SkASSERT(!fCanvas.get()); in onClose()
|
D | SkXPSDocument.h | 35 std::unique_ptr<SkCanvas> fCanvas; variable
|
/external/skia/samplecode/ |
D | SampleBigGradient.cpp | 56 SkCanvas* fCanvas; member in GraphicsPort 59 GraphicsPort(SkCanvas* canvas) : fCanvas(canvas) {} in GraphicsPort() 62 void save() { fCanvas->save(); } in save() 64 fCanvas->saveLayerAlpha(&bounds, alpha); in saveLayer() 66 void restore() { fCanvas->restore(); } in restore() 68 void translate(float x, float y) { fCanvas->translate(x, y); } in translate() 69 void scale(float s) { fCanvas->scale(s, s); } in scale() 70 void clip(const SkRect& r) { fCanvas->clipRect(r); } in clip() 75 fCanvas->drawOval(r, p); in drawOval() 81 fCanvas->drawRect(r, p); in drawRect() [all …]
|
/external/skia/debugger/QT/ |
D | SkGLWidget.cpp | 43 fCanvas = nullptr; in initializeGL() 63 fCanvas = fGpuSurface->getCanvas(); in createRenderTarget() 72 if (!this->isHidden() && fCanvas) { in paintGL() 74 fDebugger->draw(fCanvas); in paintGL() 76 fCanvas->flush(); in paintGL()
|
D | SkGLWidget.h | 51 SkCanvas* fCanvas; variable
|
/external/skia/experimental/SkV8Example/ |
D | JsContext.h | 32 , fCanvas(NULL) in JsContext() 43 virtual SkCanvas* getCanvas() { return fCanvas; }; in getCanvas() 58 SkCanvas* fCanvas; variable
|
D | JsContext.cpp | 65 fCanvas = canvas; in onDraw()
|
/external/skia/bench/ |
D | BezierBench.cpp | 15 SkCanvas* fCanvas; member 25 SkCanvas* canvas = rec->fCanvas; in draw_quad() 37 SkCanvas* canvas = rec->fCanvas; in draw_cubic() 83 fRec.fCanvas = canvas; in onDraw()
|
/external/skia/src/pdf/ |
D | SkPDFDocument.cpp | 198 SkASSERT(!fCanvas.get()); // endPage() was called before this. in onBeginPage() 220 fCanvas.reset(new SkCanvas(fPageDevice.get())); in onBeginPage() 221 return fCanvas.get(); in onBeginPage() 225 SkASSERT(fCanvas.get()); in onEndPage() 226 fCanvas->flush(); in onEndPage() 227 fCanvas.reset(nullptr); in onEndPage() 250 fCanvas.reset(nullptr); in reset() 401 SkASSERT(!fCanvas.get()); in onClose()
|
D | SkPDFDocument.h | 90 std::unique_ptr<SkCanvas> fCanvas; variable
|
/external/skia/experimental/svg/model/ |
D | SkSVGRenderContext.cpp | 232 , fCanvas(canvas) in SkSVGRenderContext() 236 : SkSVGRenderContext(other.fCanvas, in SkSVGRenderContext() 242 fCanvas->restoreToCount(fCanvasSaveCount); in ~SkSVGRenderContext() 315 fCanvas->saveLayer(nullptr, &opacityPaint); in applyOpacity() 339 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in applyClip() 340 fCanvas->save(); in applyClip() 343 fCanvas->clipPath(clipPath, true); in applyClip()
|
D | SkSVGRenderContext.h | 71 SkCanvas* canvas() const { return fCanvas; } in canvas() 98 SkCanvas* fCanvas; variable
|
/external/skia/include/core/ |
D | SkCanvas.h | 1540 explicit AutoValidateClip(SkCanvas* canvas) : fCanvas(canvas) { in AutoValidateClip() 1541 fCanvas->validateClip(); in AutoValidateClip() 1543 ~AutoValidateClip() { fCanvas->validateClip(); } in ~AutoValidateClip() 1546 const SkCanvas* fCanvas; 1564 SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) : fCanvas(canvas), fSaveCount(0) { in SkAutoCanvasRestore() 1565 if (fCanvas) { in SkAutoCanvasRestore() 1573 if (fCanvas) { in ~SkAutoCanvasRestore() 1574 fCanvas->restoreToCount(fSaveCount); in ~SkAutoCanvasRestore() 1583 if (fCanvas) { in restore() 1584 fCanvas->restoreToCount(fSaveCount); in restore() [all …]
|
D | SkMultiPictureDraw.h | 60 SkCanvas* fCanvas; member
|
/external/skia/src/pipe/ |
D | SkPipeCanvas.cpp | 977 std::unique_ptr<SkPipeCanvas> fCanvas; member in SkPipeSerializer::Impl 983 if (fImpl->fCanvas) { in ~SkPipeSerializer() 1034 SkASSERT(nullptr == fImpl->fCanvas); in beginWrite() 1035 fImpl->fCanvas.reset(new SkPipeCanvas(cull, &fImpl->fDeduper, stream)); in beginWrite() 1037 fImpl->fDeduper.setCanvas(fImpl->fCanvas.get()); in beginWrite() 1038 return fImpl->fCanvas.get(); in beginWrite() 1042 fImpl->fCanvas->restoreToCount(1); in endWrite() 1043 fImpl->fCanvas.reset(nullptr); in endWrite()
|
/external/skia/tools/ |
D | colorspaceinfo.cpp | 407 ,fCanvas(fBitmap) in OutputCanvas() 428 SkCanvas* canvas() { return &fCanvas; } in canvas() 432 SkCanvas fCanvas; member in OutputCanvas
|