Lines Matching defs:SkPDFDevice
8 #include "SkPDFDevice.h"
585 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) {
591 return SkPDFDevice::Create(size, fRasterDpi, fCanon);
617 ScopedContentEntry(SkPDFDevice* device, const SkDraw& draw,
625 ScopedContentEntry(SkPDFDevice* device, const SkClipStack* clipStack,
683 SkPDFDevice* fDevice;
707 SkPDFDevice::SkPDFDevice(SkISize pageSize,
738 SkPDFDevice::~SkPDFDevice() {
742 void SkPDFDevice::init() {
754 void SkPDFDevice::cleanUp(bool clearFontUsage) {
767 void SkPDFDevice::drawPaint(const SkDraw& d, const SkPaint& paint) {
776 void SkPDFDevice::internalDrawPaint(const SkPaint& paint,
794 void SkPDFDevice::drawPoints(const SkDraw& d,
886 void SkPDFDevice::drawRect(const SkDraw& d,
917 void SkPDFDevice::drawRRect(const SkDraw& draw,
927 void SkPDFDevice::drawOval(const SkDraw& draw,
937 void SkPDFDevice::drawPath(const SkDraw& d,
1000 void SkPDFDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
1062 void SkPDFDevice::drawBitmap(const SkDraw& d, const SkBitmap& bitmap,
1079 void SkPDFDevice::drawSprite(const SkDraw& d, const SkBitmap& bitmap,
1131 void SkPDFDevice::drawText(const SkDraw& d, const void* text, size_t len,
1182 void SkPDFDevice::drawPosText(const SkDraw& d, const void* text, size_t len,
1237 void SkPDFDevice::drawVertices(const SkDraw& d, SkCanvas::VertexMode,
1248 void SkPDFDevice::drawDevice(const SkDraw& d, SkBaseDevice* device,
1250 // our onCreateCompatibleDevice() always creates SkPDFDevice subclasses.
1251 SkPDFDevice* pdfDevice = static_cast<SkPDFDevice*>(device);
1281 SkImageInfo SkPDFDevice::imageInfo() const {
1285 void SkPDFDevice::onAttachToCanvas(SkCanvas* canvas) {
1292 void SkPDFDevice::onDetachFromCanvas() {
1298 SkSurface* SkPDFDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) {
1302 ContentEntry* SkPDFDevice::getLastContentEntry() {
1310 SkAutoTDelete<ContentEntry>* SkPDFDevice::getContentEntries() {
1318 void SkPDFDevice::setLastContentEntry(ContentEntry* contentEntry) {
1326 void SkPDFDevice::setDrawingArea(DrawingArea drawingArea) {
1332 SkPDFDict* SkPDFDevice::createResourceDict() const {
1345 const SkTDArray<SkPDFFont*>& SkPDFDevice::getFontResources() const {
1349 SkPDFArray* SkPDFDevice::copyMediaBox() const {
1361 SkStreamAsset* SkPDFDevice::content() const {
1367 void SkPDFDevice::copyContentEntriesToData(ContentEntry* entry,
1387 void SkPDFDevice::writeContent(SkWStream* out) const {
1397 SkPDFDevice::copyContentEntriesToData(fMarginContentEntries.get(), out);
1409 SkPDFDevice::copyContentEntriesToData(fContentEntries.get(), out);
1419 bool SkPDFDevice::handleInversePath(const SkDraw& d, const SkPath& origPath,
1478 bool SkPDFDevice::handleRectAnnotation(const SkRect& r, const SkMatrix& matrix,
1498 bool SkPDFDevice::handlePointAnnotation(const SkPoint* points, size_t count,
1516 void SkPDFDevice::addAnnotation(SkPDFDict* annotation) {
1552 void SkPDFDevice::handleLinkToURL(SkData* urlData, const SkRect& r,
1566 void SkPDFDevice::handleLinkToNamedDest(SkData* nameData, const SkRect& r,
1588 void SkPDFDevice::defineNamedDestination(SkData* nameData, const SkPoint& point,
1598 void SkPDFDevice::appendDestinations(SkPDFDict* dict, SkPDFObject* page) const {
1614 SkPDFFormXObject* SkPDFDevice::createFormXObjectFromDevice() {
1624 void SkPDFDevice::drawFormXObjectWithMask(int xObjectIndex,
1654 ContentEntry* SkPDFDevice::setUpContentEntry(const SkClipStack* clipStack,
1750 void SkPDFDevice::finishContentEntry(SkXfermode::Mode xfermode,
1906 bool SkPDFDevice::isContentEmpty() {
1915 void SkPDFDevice::populateGraphicStateEntryFromPaint(
2005 int SkPDFDevice::addGraphicStateResource(SkPDFObject* gs) {
2017 int SkPDFDevice::addXObjectResource(SkPDFObject* xObject) {
2029 void SkPDFDevice::updateFont(const SkPaint& paint, uint16_t glyphID,
2047 int SkPDFDevice::getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID) {
2059 void SkPDFDevice::internalDrawBitmap(const SkMatrix& origMatrix,
2192 // Should extractSubset be done by the SkPDFDevice?