Home | History | Annotate | Download | only in hwui

Lines Matching defs:Canvas

53 // These must match the corresponding Canvas API constants.
82 class ANDROID_API Canvas {
84 virtual ~Canvas(){};
86 static Canvas* create_canvas(const SkBitmap& bitmap);
89 * Create a new Canvas object that records view system drawing operations for deferred
90 * rendering. A canvas returned by this call supports calls to the resetRecording(...) and
94 * @param width of the requested Canvas.
95 * @param height of the requested Canvas.
97 * DisplayList produced by the returned Canvas. This enables the reuse of select C++
99 * @return new non-null Canvas Object. The type of DisplayList produced by this canvas is
103 static WARN_UNUSED_RESULT Canvas* create_recording_canvas(
107 * Create a new Canvas object which delegates to an SkCanvas.
111 * SkCanvas, and the returned Canvas will unref() it upon
113 * @return new non-null Canvas Object. The type of DisplayList produced by this canvas is
116 static Canvas* create_canvas(SkCanvas* skiaCanvas);
127 * Provides a Skia SkCanvas interface that acts as a proxy to this Canvas.
131 * The SkCanvas returned is *only* valid until another Canvas call is made
136 * this canvas is destroyed or a new bitmap is set.
147 // View System operations (not exposed in public Canvas API)
175 // Canvas state operations
215 // Canvas draw operations
263 * Draws a VectorDrawable onto the canvas.