Lines Matching refs:SkPDFDevice
8 #include "SkPDFDevice.h"
589 SkBaseDevice* SkPDFDevice::onCreateCompatibleDevice(SkBitmap::Config config,
596 return SkNEW_ARGS(SkPDFDevice, (size, size, initialTransform));
622 ScopedContentEntry(SkPDFDevice* device, const SkDraw& draw,
630 ScopedContentEntry(SkPDFDevice* device, const SkClipStack* clipStack,
688 SkPDFDevice* fDevice;
739 SkPDFDevice::SkPDFDevice(const SkISize& pageSize, const SkISize& contentSize,
767 SkPDFDevice::SkPDFDevice(const SkISize& layerSize,
784 SkPDFDevice::~SkPDFDevice() {
788 void SkPDFDevice::init() {
801 void SkPDFDevice::cleanUp(bool clearFontUsage) {
815 uint32_t SkPDFDevice::getDeviceCapabilities() {
819 void SkPDFDevice::clear(SkColor color) {
833 void SkPDFDevice::drawPaint(const SkDraw& d, const SkPaint& paint) {
840 void SkPDFDevice::internalDrawPaint(const SkPaint& paint,
858 void SkPDFDevice::drawPoints(const SkDraw& d, SkCanvas::PointMode mode,
945 void SkPDFDevice::drawRect(const SkDraw& d, const SkRect& rect,
973 void SkPDFDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect,
980 void SkPDFDevice::drawPath(const SkDraw& d, const SkPath& origPath,
1044 void SkPDFDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
1101 void SkPDFDevice::drawBitmap(const SkDraw& d, const SkBitmap& bitmap,
1113 void SkPDFDevice::drawSprite(const SkDraw& d, const SkBitmap& bitmap,
1125 void SkPDFDevice::drawText(const SkDraw& d, const void* text, size_t len,
1169 void SkPDFDevice::drawPosText(const SkDraw& d, const void* text, size_t len,
1327 void SkPDFDevice::drawTextOnPath(const SkDraw& d, const void* text, size_t len,
1336 void SkPDFDevice::drawVertices(const SkDraw& d, SkCanvas::VertexMode,
1347 void SkPDFDevice::drawDevice(const SkDraw& d, SkBaseDevice* device,
1356 SkPDFDevice* pdfDevice = static_cast<SkPDFDevice*>(device);
1386 void SkPDFDevice::onAttachToCanvas(SkCanvas* canvas) {
1393 void SkPDFDevice::onDetachFromCanvas() {
1399 ContentEntry* SkPDFDevice::getLastContentEntry() {
1407 SkAutoTDelete<ContentEntry>* SkPDFDevice::getContentEntries() {
1415 void SkPDFDevice::setLastContentEntry(ContentEntry* contentEntry) {
1423 void SkPDFDevice::setDrawingArea(DrawingArea drawingArea) {
1429 SkPDFResourceDict* SkPDFDevice::getResourceDict() {
1469 const SkTDArray<SkPDFFont*>& SkPDFDevice::getFontResources() const {
1473 SkPDFArray* SkPDFDevice::copyMediaBox() const {
1486 SkStream* SkPDFDevice::content() const {
1492 void SkPDFDevice::copyContentEntriesToData(ContentEntry* entry,
1513 SkData* SkPDFDevice::copyContentToData() const {
1524 SkPDFDevice::copyContentEntriesToData(fMarginContentEntries.get(), &data);
1536 SkPDFDevice::copyContentEntriesToData(fContentEntries.get(), &data);
1551 bool SkPDFDevice::handleInversePath(const SkDraw& d, const SkPath& origPath,
1611 bool SkPDFDevice::handleRectAnnotation(const SkRect& r, const SkMatrix& matrix,
1631 bool SkPDFDevice::handlePointAnnotation(const SkPoint* points, size_t count,
1649 SkPDFDict* SkPDFDevice::createLinkAnnotation(const SkRect& r,
1681 void SkPDFDevice::handleLinkToURL(SkData* urlData, const SkRect& r,
1693 void SkPDFDevice::handleLinkToNamedDest(SkData* nameData, const SkRect& r,
1715 void SkPDFDevice::defineNamedDestination(SkData* nameData, const SkPoint& point,
1725 void SkPDFDevice::appendDestinations(SkPDFDict* dict, SkPDFObject* page) {
1741 SkPDFFormXObject* SkPDFDevice::createFormXObjectFromDevice() {
1751 void SkPDFDevice::drawFormXObjectWithMask(int xObjectIndex,
1782 ContentEntry* SkPDFDevice::setUpContentEntry(const SkClipStack* clipStack,
1878 void SkPDFDevice::finishContentEntry(SkXfermode::Mode xfermode,
2034 bool SkPDFDevice::isContentEmpty() {
2043 void SkPDFDevice::populateGraphicStateEntryFromPaint(
2131 int SkPDFDevice::addGraphicStateResource(SkPDFGraphicState* gs) {
2143 int SkPDFDevice::addXObjectResource(SkPDFObject* xObject) {
2155 void SkPDFDevice::updateFont(const SkPaint& paint, uint16_t glyphID,
2173 int SkPDFDevice::getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID) {
2185 void SkPDFDevice::internalDrawBitmap(const SkMatrix& origMatrix,
2330 bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y,
2335 bool SkPDFDevice::allowImageFilter(SkImageFilter*) {