• Home
  • Raw
  • Download

Lines Matching refs:SkCanvas

68 bool SkCanvas::wouldOverwriteEntireSurface(const SkRect* rect, const SkPaint* paint,  in wouldOverwriteEntireSurface()
149 void SkCanvas::predrawNotify(bool willOverwritesEntireSurface) { in predrawNotify()
157 void SkCanvas::predrawNotify(const SkRect* rect, const SkPaint* paint, in predrawNotify()
225 class SkCanvas::MCRec {
274 SkDrawIter(SkCanvas* canvas) in SkDrawIter()
373 AutoDrawLooper(SkCanvas* canvas, const SkPaint& paint, bool skipLayerForImageFilter = false, in AutoDrawLooper()
413 (void)canvas->internalSaveLayer(SkCanvas::SaveLayerRec(rawBounds, &tmp), in AutoDrawLooper()
414 SkCanvas::kFullLayer_SaveLayerStrategy); in AutoDrawLooper()
456 SkCanvas* fCanvas;
540 void SkCanvas::resetForNextPicture(const SkIRect& bounds) { in resetForNextPicture()
551 void SkCanvas::init(sk_sp<SkBaseDevice> device) { in init()
581 SkCanvas::SkCanvas() in SkCanvas() function in SkCanvas
590 SkCanvas::SkCanvas(int width, int height, const SkSurfaceProps* props) in SkCanvas() function in SkCanvas
599 SkCanvas::SkCanvas(const SkIRect& bounds) in SkCanvas() function in SkCanvas
609 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device) in SkCanvas() function in SkCanvas
618 SkCanvas::SkCanvas(const SkBitmap& bitmap, const SkSurfaceProps& props) in SkCanvas() function in SkCanvas
628 SkCanvas::SkCanvas(const SkBitmap& bitmap, std::unique_ptr<SkRasterHandleAllocator> alloc, in SkCanvas() function in SkCanvas
640 SkCanvas::SkCanvas(const SkBitmap& bitmap) : SkCanvas(bitmap, nullptr, nullptr) {} in SkCanvas() function in SkCanvas
643 SkCanvas::SkCanvas(const SkBitmap& bitmap, ColorBehavior) in SkCanvas() function in SkCanvas
657 SkCanvas::~SkCanvas() { in ~SkCanvas()
668 SkMetaData& SkCanvas::getMetaData() { in getMetaData()
679 void SkCanvas::flush() { in flush()
683 void SkCanvas::onFlush() { in onFlush()
690 SkISize SkCanvas::getBaseLayerSize() const { in getBaseLayerSize()
695 SkIRect SkCanvas::getTopLayerBounds() const { in getTopLayerBounds()
703 SkBaseDevice* SkCanvas::getDevice() const { in getDevice()
710 SkBaseDevice* SkCanvas::getTopDevice() const { in getTopDevice()
714 bool SkCanvas::readPixels(const SkPixmap& pm, int x, int y) { in readPixels()
719 bool SkCanvas::readPixels(const SkImageInfo& dstInfo, void* dstP, size_t rowBytes, int x, int y) { in readPixels()
723 bool SkCanvas::readPixels(const SkBitmap& bm, int x, int y) { in readPixels()
728 bool SkCanvas::writePixels(const SkBitmap& bitmap, int x, int y) { in writePixels()
736 bool SkCanvas::writePixels(const SkImageInfo& srcInfo, const void* pixels, size_t rowBytes, in writePixels()
764 void SkCanvas::checkForDeferredSave() { in checkForDeferredSave()
770 int SkCanvas::getSaveCount() const { in getSaveCount()
786 int SkCanvas::save() { in save()
792 void SkCanvas::doSave() { in doSave()
800 void SkCanvas::restore() { in restore()
817 void SkCanvas::restoreToCount(int count) { in restoreToCount()
829 void SkCanvas::internalSave() { in internalSave()
837 bool SkCanvas::BoundsAffectsClip(SaveLayerFlags saveLayerFlags) { in BoundsAffectsClip()
841 bool SkCanvas::clipRectBounds(const SkRect* bounds, SaveLayerFlags saveLayerFlags, in clipRectBounds()
908 int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint) { in saveLayer()
912 int SkCanvas::saveLayer(const SaveLayerRec& rec) { in saveLayer()
926 int SkCanvas::only_axis_aligned_saveBehind(const SkRect* bounds) { in only_axis_aligned_saveBehind()
942 void SkCanvas::DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter, in DrawDeviceWithFilter()
983 void SkCanvas::internalSaveLayer(const SaveLayerRec& rec, SaveLayerStrategy strategy) { in internalSaveLayer()
1102 int SkCanvas::saveLayerAlpha(const SkRect* bounds, U8CPU alpha) { in saveLayerAlpha()
1112 void SkCanvas::internalSaveBehind(const SkRect* localBounds) { in internalSaveBehind()
1154 void SkCanvas::internalRestore() { in internalRestore()
1212 sk_sp<SkSurface> SkCanvas::makeSurface(const SkImageInfo& info, const SkSurfaceProps* props) { in makeSurface()
1219 sk_sp<SkSurface> SkCanvas::onNewSurface(const SkImageInfo& info, const SkSurfaceProps& props) { in onNewSurface()
1224 SkImageInfo SkCanvas::imageInfo() const { in imageInfo()
1228 SkImageInfo SkCanvas::onImageInfo() const { in onImageInfo()
1237 bool SkCanvas::getProps(SkSurfaceProps* props) const { in getProps()
1241 bool SkCanvas::onGetProps(SkSurfaceProps* props) const { in onGetProps()
1253 bool SkCanvas::peekPixels(SkPixmap* pmap) { in peekPixels()
1257 bool SkCanvas::onPeekPixels(SkPixmap* pmap) { in onPeekPixels()
1262 void* SkCanvas::accessTopLayerPixels(SkImageInfo* info, size_t* rowBytes, SkIPoint* origin) { in accessTopLayerPixels()
1279 bool SkCanvas::onAccessTopLayerPixels(SkPixmap* pmap) { in onAccessTopLayerPixels()
1286 void SkCanvas::internalDrawDevice(SkBaseDevice* srcDev, int x, int y, const SkPaint* paint, in internalDrawDevice()
1316 void SkCanvas::translate(SkScalar dx, SkScalar dy) { in translate()
1330 void SkCanvas::scale(SkScalar sx, SkScalar sy) { in scale()
1336 void SkCanvas::rotate(SkScalar degrees) { in rotate()
1342 void SkCanvas::rotate(SkScalar degrees, SkScalar px, SkScalar py) { in rotate()
1348 void SkCanvas::skew(SkScalar sx, SkScalar sy) { in skew()
1354 void SkCanvas::concat(const SkMatrix& matrix) { in concat()
1368 void SkCanvas::internalSetMatrix(const SkMatrix& matrix) { in internalSetMatrix()
1375 void SkCanvas::setMatrix(const SkMatrix& matrix) { in setMatrix()
1381 void SkCanvas::resetMatrix() { in resetMatrix()
1387 void SkCanvas::clipRect(const SkRect& rect, SkClipOp op, bool doAA) { in clipRect()
1396 void SkCanvas::onClipRect(const SkRect& rect, SkClipOp op, ClipEdgeStyle edgeStyle) { in onClipRect()
1407 void SkCanvas::androidFramework_setDeviceClipRestriction(const SkIRect& rect) { in androidFramework_setDeviceClipRestriction()
1422 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { in clipRRect()
1432 void SkCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle edgeStyle) { in onClipRRect()
1444 void SkCanvas::clipPath(const SkPath& path, SkClipOp op, bool doAA) { in clipPath()
1469 void SkCanvas::onClipPath(const SkPath& path, SkClipOp op, ClipEdgeStyle edgeStyle) { in onClipPath()
1483 void SkCanvas::clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion()
1488 void SkCanvas::onClipRegion(const SkRegion& rgn, SkClipOp op) { in onClipRegion()
1498 void SkCanvas::validateClip() const { in validateClip()
1508 bool SkCanvas::androidFramework_isClipAA() const { in androidFramework_isClipAA()
1529 void SkCanvas::temporary_internal_getRgnClip(SkRegion* rgn) { in temporary_internal_getRgnClip()
1539 bool SkCanvas::isClipEmpty() const { in isClipEmpty()
1550 bool SkCanvas::isClipRect() const { in isClipRect()
1585 bool SkCanvas::quickReject(const SkRect& src) const { in quickReject()
1626 bool SkCanvas::quickReject(const SkPath& path) const { in quickReject()
1630 SkRect SkCanvas::getLocalClipBounds() const { in getLocalClipBounds()
1651 SkIRect SkCanvas::getDeviceClipBounds() const { in getDeviceClipBounds()
1655 const SkMatrix& SkCanvas::getTotalMatrix() const { in getTotalMatrix()
1659 GrRenderTargetContext* SkCanvas::internal_private_accessTopLayerRenderTargetContext() { in internal_private_accessTopLayerRenderTargetContext()
1664 GrContext* SkCanvas::getGrContext() { in getGrContext()
1669 void SkCanvas::drawDRRect(const SkRRect& outer, const SkRRect& inner, in drawDRRect()
1692 void SkCanvas::drawPaint(const SkPaint& paint) { in drawPaint()
1697 void SkCanvas::drawRect(const SkRect& r, const SkPaint& paint) { in drawRect()
1704 void SkCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
1717 void SkCanvas::drawOval(const SkRect& r, const SkPaint& paint) { in drawOval()
1724 void SkCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { in drawRRect()
1729 void SkCanvas::drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint) { in drawPoints()
1734 void SkCanvas::drawVertices(const sk_sp<SkVertices>& vertices, SkBlendMode mode, in drawVertices()
1743 void SkCanvas::drawVertices(const SkVertices* vertices, SkBlendMode mode, const SkPaint& paint) { in drawVertices()
1749 void SkCanvas::drawVertices(const sk_sp<SkVertices>& vertices, const SkVertices::Bone bones[], in drawVertices()
1757 void SkCanvas::drawVertices(const SkVertices* vertices, const SkVertices::Bone bones[], in drawVertices()
1765 void SkCanvas::drawPath(const SkPath& path, const SkPaint& paint) { in drawPath()
1770 void SkCanvas::drawImage(const SkImage* image, SkScalar x, SkScalar y, const SkPaint* paint) { in drawImage()
1783 void SkCanvas::drawImageRect(const SkImage* image, const SkRect& src, const SkRect& dst, in drawImageRect()
1793 void SkCanvas::drawImageRect(const SkImage* image, const SkIRect& isrc, const SkRect& dst, in drawImageRect()
1799 void SkCanvas::drawImageRect(const SkImage* image, const SkRect& dst, const SkPaint* paint) { in drawImageRect()
1832 void SkCanvas::drawImageNine(const SkImage* image, const SkIRect& center, const SkRect& dst, in drawImageNine()
1847 void SkCanvas::drawImageLattice(const SkImage* image, const Lattice& lattice, const SkRect& dst, in drawImageLattice()
1870 void SkCanvas::experimental_DrawImageSetV1(const ImageSetEntry imageSet[], int cnt, in experimental_DrawImageSetV1()
1879 void SkCanvas::experimental_DrawEdgeAARectV1(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in experimental_DrawEdgeAARectV1()
1887 void SkCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar dx, SkScalar dy, const SkPaint* paint) { in drawBitmap()
1895 void SkCanvas::drawBitmapRect(const SkBitmap& bitmap, const SkRect& src, const SkRect& dst, in drawBitmapRect()
1904 void SkCanvas::drawBitmapRect(const SkBitmap& bitmap, const SkIRect& isrc, const SkRect& dst, in drawBitmapRect()
1909 void SkCanvas::drawBitmapRect(const SkBitmap& bitmap, const SkRect& dst, const SkPaint* paint, in drawBitmapRect()
1915 void SkCanvas::drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, in drawBitmapNine()
1929 void SkCanvas::drawBitmapLattice(const SkBitmap& bitmap, const Lattice& lattice, const SkRect& dst, in drawBitmapLattice()
1951 void SkCanvas::drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], in drawAtlas()
1964 void SkCanvas::drawAnnotation(const SkRect& rect, const char key[], SkData* value) { in drawAnnotation()
1971 void SkCanvas::legacy_drawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, in legacy_drawImageRect()
1980 void SkCanvas::legacy_drawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, in legacy_drawBitmapRect()
1990 void SkCanvas::private_draw_shadow_rec(const SkPath& path, const SkDrawShadowRec& rec) { in private_draw_shadow_rec()
1995 void SkCanvas::onDrawShadowRec(const SkPath& path, const SkDrawShadowRec& rec) { in onDrawShadowRec()
2010 void SkCanvas::onDiscard() { in onDiscard()
2016 void SkCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
2020 void SkCanvas::internalDrawPaint(const SkPaint& paint) { in internalDrawPaint()
2030 void SkCanvas::onDrawPoints(PointMode mode, size_t count, const SkPoint pts[], in onDrawPoints()
2066 static bool needs_autodrawlooper(SkCanvas* canvas, const SkPaint& paint) { in needs_autodrawlooper()
2071 void SkCanvas::onDrawRect(const SkRect& r, const SkPaint& paint) { in onDrawRect()
2097 void SkCanvas::onDrawEdgeAARect(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in onDrawEdgeAARect()
2111 void SkCanvas::onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion()
2129 void SkCanvas::onDrawOval(const SkRect& oval, const SkPaint& paint) { in onDrawOval()
2147 void SkCanvas::onDrawArc(const SkRect& oval, SkScalar startAngle, in onDrawArc()
2168 void SkCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
2178 this->SkCanvas::drawRect(rrect.getBounds(), paint); in onDrawRRect()
2182 this->SkCanvas::drawOval(rrect.getBounds(), paint); in onDrawRRect()
2195 void SkCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { in onDrawDRRect()
2212 void SkCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
2241 bool SkCanvas::canDrawBitmapAsSprite(SkScalar x, SkScalar y, int w, int h, const SkPaint& paint) { in canDrawBitmapAsSprite()
2275 void SkCanvas::onDrawImage(const SkImage* image, SkScalar x, SkScalar y, const SkPaint* paint) { in onDrawImage()
2324 void SkCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, in onDrawImageRect()
2349 void SkCanvas::onDrawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, const SkPaint* paint) { in onDrawBitmap()
2401 void SkCanvas::internalDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, in internalDrawBitmapRect()
2429 void SkCanvas::onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, in onDrawBitmapRect()
2435 void SkCanvas::onDrawImageNine(const SkImage* image, const SkIRect& center, const SkRect& dst, in onDrawImageNine()
2457 void SkCanvas::onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, in onDrawBitmapNine()
2480 void SkCanvas::onDrawImageLattice(const SkImage* image, const Lattice& lattice, const SkRect& dst, in onDrawImageLattice()
2502 void SkCanvas::onDrawImageSet(const ImageSetEntry imageSet[], int count, in onDrawImageSet()
2512 void SkCanvas::onDrawBitmapLattice(const SkBitmap& bitmap, const Lattice& lattice, in onDrawBitmapLattice()
2534 void SkCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob()
2559 void SkCanvas::drawSimpleText(const void* text, size_t byteLength, SkTextEncoding encoding, in drawSimpleText()
2568 void SkCanvas::drawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in drawTextBlob()
2576 void SkCanvas::onDrawVerticesObject(const SkVertices* vertices, const SkVertices::Bone bones[], in onDrawVerticesObject()
2588 void SkCanvas::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
2599 void SkCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch()
2619 void SkCanvas::drawDrawable(SkDrawable* dr, SkScalar x, SkScalar y) { in drawDrawable()
2632 void SkCanvas::drawDrawable(SkDrawable* dr, const SkMatrix* matrix) { in drawDrawable()
2643 void SkCanvas::onDrawDrawable(SkDrawable* dr, const SkMatrix* matrix) { in onDrawDrawable()
2649 void SkCanvas::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], in onDrawAtlas()
2668 void SkCanvas::onDrawAnnotation(const SkRect& rect, const char key[], SkData* value) { in onDrawAnnotation()
2684 void SkCanvas::drawColor(SkColor c, SkBlendMode mode) { in drawColor()
2691 void SkCanvas::drawPoint(SkScalar x, SkScalar y, const SkPaint& paint) { in drawPoint()
2696 void SkCanvas::drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint& paint) { in drawLine()
2703 void SkCanvas::drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint& paint) { in drawCircle()
2713 void SkCanvas::drawRoundRect(const SkRect& r, SkScalar rx, SkScalar ry, in drawRoundRect()
2724 void SkCanvas::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
2736 void SkCanvas::drawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) … in drawPicture()
2739 void SkCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, in onDrawPicture()
2751 void SkCanvas::drawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) { in drawPicture()
2766 void SkCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, in onDrawPicture()
2789 SkCanvas::LayerIter::LayerIter(SkCanvas* canvas) { in LayerIter()
2798 SkCanvas::LayerIter::~LayerIter() { in ~LayerIter()
2802 void SkCanvas::LayerIter::next() { in next()
2806 SkBaseDevice* SkCanvas::LayerIter::device() const { in device()
2810 const SkMatrix& SkCanvas::LayerIter::matrix() const { in matrix()
2814 const SkPaint& SkCanvas::LayerIter::paint() const { in paint()
2822 SkIRect SkCanvas::LayerIter::clipBounds() const { in clipBounds()
2826 int SkCanvas::LayerIter::x() const { return fImpl->getX(); } in x()
2827 int SkCanvas::LayerIter::y() const { return fImpl->getY(); } in y()
2831 std::unique_ptr<SkCanvas> SkCanvas::MakeRasterDirect(const SkImageInfo& info, void* pixels, in MakeRasterDirect()
2843 skstd::make_unique<SkCanvas>(bitmap, *props) : in MakeRasterDirect()
2844 skstd::make_unique<SkCanvas>(bitmap); in MakeRasterDirect()
2858 SkCanvas::SaveLayerStrategy SkNoDrawCanvas::getSaveLayerStrategy(const SaveLayerRec& rec) { in getSaveLayerStrategy()
2878 SkRasterHandleAllocator::Handle SkCanvas::accessTopRasterHandle() const { in accessTopRasterHandle()
2912 std::unique_ptr<SkCanvas>
2927 return hndl ? std::unique_ptr<SkCanvas>(new SkCanvas(bm, std::move(alloc), hndl)) : nullptr; in MakeCanvas()