Lines Matching refs:device
39 A Canvas encapsulates all of the state about drawing into a device (bitmap).
40 This includes a reference to the device itself, and a stack of matrix/clip
46 While the Canvas holds the state of the drawing device, the state (style)
59 /** Construct a canvas with the specified device to draw into.
60 @param device Specifies a device for the canvas to draw into. The
61 device may be null.
63 explicit SkCanvas(SkDevice* device = NULL);
80 /** Return the canvas' device object, which may be null. The device holds
82 of the returned device is not changed by this call.
86 /** Specify a device for this canvas to draw into. If it is not null, its
88 device, its reference count is decremented. The new device is returned.
90 SkDevice* setDevice(SkDevice* device);
93 setDevice(), and it creates a device for the bitmap by calling
94 createDevice(). The structure of the bitmap is copied into the device.
234 matrix, clipRegion() assumes its argument is already in device
256 if the edge does not lie exactly on a device pixel boundary (after being
675 /** Return the current device clip (concatenation of all clip calls).
677 @return the current device clip (concatenation of all clip calls).
681 /** May be overridden by subclasses. This returns a compatible device
702 /** Initialize iterator with canvas, and set values for 1st device */
708 /** Cycle to the next device */
711 // These reflect the current device in the iterator
713 SkDevice* device() const;