Lines Matching refs:mCanvas

56     : mCanvas(canvas)  in SkiaCanvas()
67 mCanvas = mCanvasWrapper.get(); in SkiaCanvas()
73 if (mCanvas != skiaCanvas) { in reset()
74 mCanvas = skiaCanvas; in reset()
95 mCanvas = mCanvasWrapper.get(); in setBitmap()
106 return mCanvas->imageInfo().isOpaque(); in isOpaque()
110 return mCanvas->imageInfo().width(); in width()
114 return mCanvas->imageInfo().height(); in height()
122 return mCanvas->getSaveCount(); in getSaveCount()
126 int count = mCanvas->save(); in save()
139 mCanvas->restore(); in restore()
148 savedMatrix = mCanvas->getTotalMatrix(); in restore()
153 mCanvas->restore(); in restore()
157 mCanvas->setMatrix(savedMatrix); in restore()
166 while (mCanvas->getSaveCount() > restoreCount) { in restoreToCount()
191 return mCanvas->saveLayer(rec); in saveLayer()
248 int currentSaveCount = mCanvas->getSaveCount(); in currentSaveRec()
275 rec->saveCount = mCanvas->getSaveCount(); in recordPartialSave()
286 mClipStack.emplace_back(clip, op, mCanvas->getTotalMatrix()); in recordClip()
297 const SkMatrix saveMatrix = mCanvas->getTotalMatrix(); in applyPersistentClips()
300 clip->apply(mCanvas); in applyPersistentClips()
303 mCanvas->setMatrix(saveMatrix); in applyPersistentClips()
319 *outMatrix = mCanvas->getTotalMatrix(); in getMatrix()
323 mCanvas->setMatrix(matrix); in setMatrix()
327 mCanvas->concat(matrix); in concat()
331 mCanvas->rotate(degrees); in rotate()
335 mCanvas->scale(sx, sy); in scale()
339 mCanvas->skew(sx, sy); in skew()
343 mCanvas->translate(dx, dy); in translate()
356 if (!mCanvas->getDeviceClipBounds(&ibounds)) { in getClipBounds()
362 if (!mCanvas->getTotalMatrix().invert(&inverse)) { in getClipBounds()
378 return mCanvas->quickReject(bounds); in quickRejectRect()
382 return mCanvas->quickReject(path); in quickRejectPath()
388 mCanvas->clipRect(rect, op); in clipRect()
389 return !mCanvas->isClipEmpty(); in clipRect()
394 mCanvas->clipPath(*path, op); in clipPath()
395 return !mCanvas->isClipEmpty(); in clipPath()
403 return mCanvas->getDrawFilter(); in getDrawFilter()
407 mCanvas->setDrawFilter(drawFilter); in setDrawFilter()
415 SkCanvas* canvas = mCanvas; in captureCanvasState()
439 mCanvas->drawColor(color, mode); in drawColor()
443 mCanvas->drawPaint(paint); in drawPaint()
460 mCanvas->drawPoints(mode, count, pts.get(), paint); in drawPoints()
465 mCanvas->drawPoint(x, y, paint); in drawPoint()
474 mCanvas->drawLine(startX, startY, stopX, stopY, paint); in drawLine()
485 mCanvas->drawRectCoords(left, top, right, bottom, paint); in drawRect()
491 mCanvas->drawRegion(region, paint); in drawRegion()
498 mCanvas->drawRoundRect(rect, rx, ry, paint); in drawRoundRect()
503 mCanvas->drawCircle(x, y, radius, paint); in drawCircle()
509 mCanvas->drawOval(oval, paint); in drawOval()
516 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
521 mCanvas->drawPath(path, paint); in drawPath()
531 mCanvas->drawVertices(SkVertices::MakeCopy(vertexMode, ptCount, (SkPoint*)verts, in drawVertices()
544 mCanvas->drawBitmap(skBitmap, left, top, paint); in drawBitmap()
550 SkAutoCanvasRestore acr(mCanvas, true); in drawBitmap()
551 mCanvas->concat(matrix); in drawBitmap()
552 mCanvas->drawBitmap(bitmap, 0, 0, paint); in drawBitmap()
562 mCanvas->drawBitmapRect(bitmap, srcRect, dstRect, paint); in drawBitmap()
650 mCanvas->drawVertices(builder.detach(), SkBlendMode::kModulate, tmpPaint); in drawBitmapMesh()
677 mCanvas->drawBitmapLattice(bitmap, lattice, dst, paint); in drawNinePatch()
710 mCanvas->drawTextBlob(textBlob, 0, 0, paintCopy); in drawGlyphs()
752 mCanvas->drawDrawable(drawable.get()); in drawRoundRect()
758 mCanvas->drawDrawable(drawable.get()); in drawCircle()