Lines Matching defs:canvas

90     To draw to a document, obtain SkCanvas from SVG canvas, document PDF, or SkPictureRecorder.
191 /** Constructs a canvas that draws into bitmap.
216 @param bitmap specifies a bitmap for the canvas to draw into
223 /** Constructs a canvas that draws into bitmap.
274 /** Gets the size of the base or root layer in global canvas coordinates. The
306 /** Sometimes a canvas is owned by a surface. If it is, getSurface() will return a bare
333 SkRasterHandleAllocator::MakeCanvas, which creates a custom canvas with raster storage for
756 The save count of a new canvas is one.
1662 * This entry point supports per-entry manipulations to the canvas's current matrix. If an
1663 * entry provides 'fMatrixIndex' >= 0, it will be drawn as if the canvas's CTM was
1664 * canvas->getTotalMatrix() * preViewMatrices[fMatrixIndex]. If 'fMatrixIndex' is less than 0,
1666 * current canvas matrix. The pre-view matrix modifies the canvas's view matrix, it does not
1921 actually landing on the canvas. Note that drawing into a layer can also change its
1937 actually landing on the canvas. Note that drawing into a layer can also change its
2071 If cullRect is outside of clip, canvas can skip drawing.
2122 Only some canvas implementations, such as recording to SkPicture, or drawing to
2125 @param rect SkRect extent of canvas to annotate
2136 Only some canvas implementations, such as recording to SkPicture, or drawing to
2139 @param rect SkRect extent of canvas to annotate
2221 * onto destination canvas. The provided tile mode is used when blur kernel goes
2361 SkCanvas* canvas,
2368 // canvas pixels are determined by this device.
2404 // to the canvas's fBaseDevice. The MCRec does not own the device.
2526 * relative to the current canvas matrix, and src is drawn to dst using their relative transform
2542 * paint (or default if null) would overwrite the entire root device of the canvas
2543 * (i.e. the canvas' surface if it had one).
2568 // Keep track of the device clip bounds in the canvas' global space to reject draws before
2573 // into the canvas' global space.
2586 goes out of scope. Use this to guarantee that the canvas is restored to a known
2594 @param canvas SkCanvas to guard
2598 SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) : fCanvas(canvas), fSaveCount(0) {
2600 fSaveCount = canvas->getSaveCount();
2602 canvas->save();