Lines Matching defs:device
152 SkBaseDevice* device) {
156 draw.fMatrixProvider = device;
158 draw.drawPoints(mode, count, points, paint, device);
162 // switch to device space, where CTM = I, while keeping the original behavior.
220 // need to return a raster device, which we will detect in drawDevice()
230 ScopedContentEntry(SkPDFDevice* device,
235 : fDevice(device)
333 // Annotations are specified in absolute coordinates, so the page xform maps from device space
1067 // (clip bounds are given in device space).
1105 // We always draw the form xobjects that we create back into the device, so
1354 // the non-transparent parts of the device and the outlines (shape) of
1526 // entire device if unnecessary.
1685 void SkPDFDevice::drawDevice(SkBaseDevice* device, const SkSamplingOptions& sampling,
1690 // Check if the source device is really a bitmapdevice (because that's what we returned
1692 // a raster device to apply color filters, too).
1694 if (device->peekPixels(&pmap)) {
1695 this->INHERITED::drawDevice(device, sampling, paint);
1700 SkPDFDevice* pdfDevice = static_cast<SkPDFDevice*>(device);
1706 SkMatrix matrix = device->getRelativeTransform(*this);
1712 SkPath shape = SkPath::Rect(SkRect::Make(device->imageInfo().dimensions()));