/external/skia/src/pdf/ |
D | SkPDFUtils.h | 48 void AppendTransform(const SkMatrix& matrix, SkWStream* content); 50 void MoveTo(SkScalar x, SkScalar y, SkWStream* content); 51 void AppendLine(SkScalar x, SkScalar y, SkWStream* content); 54 SkScalar dstX, SkScalar dstY, SkWStream* content); 55 void AppendRectangle(const SkRect& rect, SkWStream* content); 57 bool doConsumeDegerates, SkWStream* content, SkScalar tolerance = 0.25f); 59 SkWStream* content, SkScalar tolerance = 0.25f) { 62 void ClosePath(SkWStream* content); 64 SkWStream* content); 65 void StrokePath(SkWStream* content); [all …]
|
D | SkPDFDocument.h | 27 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream, 28 void (*doneProc)(SkWStream*, bool), 46 void serializeHeader(SkWStream*, const SkDocument::PDFMetadata&); 47 void serializeObjects(SkWStream*); 48 void serializeFooter(SkWStream*, const sk_sp<SkPDFObject>, sk_sp<SkPDFObject>); 49 int32_t offset(SkWStream*); 57 SkPDFDocument(SkWStream*, 58 void (*)(SkWStream*, bool), 66 void onClose(SkWStream*) override;
|
D | SkPDFTypes.h | 22 class SkWStream; variable 42 virtual void emitObject(SkWStream* stream, 121 void emitObject(SkWStream*, const SkPDFObjNumMap&) const; 168 void emitObject(SkWStream* stream, 193 void emitObject(SkWStream* stream, 241 void emitObject(SkWStream* stream, 277 void emitAll(SkWStream* stream, 301 void emitObject(SkWStream*, 333 void emitObject(SkWStream* stream,
|
D | SkPDFUtils.cpp | 46 void SkPDFUtils::AppendTransform(const SkMatrix& matrix, SkWStream* content) { in AppendTransform() 59 void SkPDFUtils::MoveTo(SkScalar x, SkScalar y, SkWStream* content) { in MoveTo() 67 void SkPDFUtils::AppendLine(SkScalar x, SkScalar y, SkWStream* content) { in AppendLine() 77 SkScalar dstX, SkScalar dstY, SkWStream* content) { in AppendCubic() 97 static void append_quad(const SkPoint quad[], SkWStream* content) { in append_quad() 105 void SkPDFUtils::AppendRectangle(const SkRect& rect, SkWStream* content) { in AppendRectangle() 121 bool doConsumeDegerates, SkWStream* content, in EmitPath() 204 void SkPDFUtils::ClosePath(SkWStream* content) { in ClosePath() 210 SkWStream* content) { in PaintPath() 230 void SkPDFUtils::StrokePath(SkWStream* content) { in StrokePath() [all …]
|
D | SkPDFDocument.cpp | 38 void SkPDFObjectSerializer::serializeHeader(SkWStream* wStream, in serializeHeader() 53 void SkPDFObjectSerializer::serializeObjects(SkWStream* wStream) { in serializeObjects() 73 void SkPDFObjectSerializer::serializeFooter(SkWStream* wStream, in serializeFooter() 103 int32_t SkPDFObjectSerializer::offset(SkWStream* wStream) { in offset() 174 SkPDFDocument::SkPDFDocument(SkWStream* stream, in SkPDFDocument() 175 void (*doneProc)(SkWStream*, bool), in SkPDFDocument() argument 400 void SkPDFDocument::onClose(SkWStream* stream) { in onClose() 433 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream, in SkPDFMakeDocument() 434 void (*proc)(SkWStream*, bool), in SkPDFMakeDocument() argument 448 auto delete_wstream = [](SkWStream* stream, bool) { delete stream; }; in MakePDF() [all …]
|
D | SkPDFBitmap.cpp | 33 static void pdf_stream_begin(SkWStream* stream) { in pdf_stream_begin() 38 static void pdf_stream_end(SkWStream* stream) { in pdf_stream_end() 46 static void fill_stream(SkWStream* out, char value, size_t n) { in fill_stream() 159 static void bitmap_to_pdf_pixels(const SkBitmap& bitmap, SkWStream* out) { in bitmap_to_pdf_pixels() 235 static void bitmap_alpha_to_a8(const SkBitmap& bitmap, SkWStream* out) { in bitmap_alpha_to_a8() 275 static void emit_image_xobject(SkWStream* stream, in emit_image_xobject() 327 void emitObject(SkWStream* stream, in emitObject() 345 void emitObject(SkWStream* stream, in emitObject() 378 void emitObject(SkWStream*, const SkPDFObjNumMap&) const override; 382 void PDFJpegBitmap::emitObject(SkWStream* stream, in emitObject()
|
D | SkDeflate.h | 20 class SkDeflateWStream final : public SkWStream { 33 SkDeflateWStream(SkWStream*,
|
/external/skia/include/core/ |
D | SkDocument.h | 20 class SkWStream; variable 130 static sk_sp<SkDocument> MakePDF(SkWStream* stream, 136 static sk_sp<SkDocument> MakePDF(SkWStream* stream, 170 static sk_sp<SkDocument> MakeXPS(SkWStream* stream, 205 SkDocument(SkWStream*, void (*)(SkWStream*, bool aborted)); 213 virtual void onClose(SkWStream*) = 0; 217 SkWStream* getStream() { return fStream; } in getStream() 227 SkWStream* fStream; 228 void (*fDoneProc)(SkWStream*, bool aborted);
|
D | SkStream.h | 182 class SK_API SkWStream : SkNoncopyable { 184 virtual ~SkWStream(); 235 class SK_API SkNullWStream : public SkWStream { 355 class SK_API SkFILEWStream : public SkWStream { 372 typedef SkWStream INHERITED; 375 class SK_API SkDynamicMemoryWStream : public SkWStream { 387 bool writeToStream(SkWStream* dst) const; 393 bool writeToAndReset(SkWStream* dst); 420 typedef SkWStream INHERITED;
|
D | SkImageEncoder.h | 34 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, 39 inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage()
|
/external/skia/dm/ |
D | DMSrcSink.h | 87 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log) 299 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override; 312 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 334 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 344 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 353 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 362 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 374 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 381 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 390 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; [all …]
|
/external/skia/src/images/ |
D | SkImageEncoder.cpp | 14 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument 15 std::unique_ptr<SkEncoder> SkJpegEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument 21 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument 22 std::unique_ptr<SkEncoder> SkPngEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument 28 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument 31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage()
|
D | SkJPEGWriteUtility.h | 29 skjpeg_destination_mgr(SkWStream* stream); 31 SkWStream* fStream;
|
/external/skia/src/ports/ |
D | SkImageEncoder_CG.cpp | 32 SkWStream* stream = reinterpret_cast<SkWStream*>(info); in consumer_put() 40 static CGDataConsumerRef SkStreamToCGDataConsumer(SkWStream* stream) { in SkStreamToCGDataConsumer() 49 static CGImageDestinationRef SkStreamToImageDestination(SkWStream* stream, in SkStreamToImageDestination() 64 bool SkEncodeImageWithCG(SkWStream* stream, const SkPixmap& pixmap, SkEncodedImageFormat format) { in SkEncodeImageWithCG()
|
/external/skia/bench/ |
D | EncoderBench.cpp | 18 using Encoder = bool (*)(SkWStream*, const SkPixmap&); 49 static bool encode_jpeg(SkWStream* dst, const SkPixmap& src) { in encode_jpeg() 55 static bool encode_webp_lossy(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossy() 63 static bool encode_webp_lossless(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossless() 71 static bool encode_png(SkWStream* dst, in encode_png() 82 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \
|
/external/skia/src/core/ |
D | SkPipe.h | 21 class SkWStream; variable 39 void writeImage(SkImage*, SkWStream*); 40 void writePicture(SkPicture*, SkWStream*); 42 SkCanvas* beginWrite(const SkRect& cullBounds, SkWStream*);
|
D | SkStream.cpp | 70 SkWStream::~SkWStream() in ~SkWStream() 74 void SkWStream::flush() in flush() 78 bool SkWStream::writeDecAsText(int32_t dec) in writeDecAsText() 85 bool SkWStream::writeBigDecAsText(int64_t dec, int minDigits) in writeBigDecAsText() 92 bool SkWStream::writeHexAsText(uint32_t hex, int digits) in writeHexAsText() 99 bool SkWStream::writeScalarAsText(SkScalar value) in writeScalarAsText() 106 bool SkWStream::writeScalar(SkScalar value) { in writeScalar() 110 int SkWStream::SizeOfPackedUInt(size_t value) { in SizeOfPackedUInt() 119 bool SkWStream::writePackedUInt(size_t value) { in writePackedUInt() 139 bool SkWStream::writeStream(SkStream* stream, size_t length) { in writeStream() [all …]
|
D | SkStreamPriv.h | 15 class SkWStream; variable 34 bool SkStreamCopy(SkWStream* out, SkStream* input);
|
/external/skia/include/encode/ |
D | SkJpegEncoder.h | 14 class SkWStream; variable 73 static bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options); 83 static std::unique_ptr<SkEncoder> Make(SkWStream* dst, const SkPixmap& src,
|
D | SkPngEncoder.h | 15 class SkWStream; variable 77 static bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options); 87 static std::unique_ptr<SkEncoder> Make(SkWStream* dst, const SkPixmap& src,
|
D | SkWebpEncoder.h | 13 class SkWStream; variable 52 SK_API bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);
|
/external/skia/src/utils/win/ |
D | SkIStream.h | 21 class SkWStream; variable 116 SkWStream *fSkWStream; 118 SkWIStream(SkWStream* stream); 122 HRESULT static CreateFromSkWStream(SkWStream* stream, IStream ** ppStream);
|
/external/skia/src/xps/ |
D | SkXPSDocument.cpp | 16 SkXPSDocument::SkXPSDocument(SkWStream* stream, in SkXPSDocument() 49 void SkXPSDocument::onClose(SkWStream*) { in onClose() argument 58 sk_sp<SkDocument> SkDocument::MakeXPS(SkWStream* stream, in MakeXPS()
|
/external/skia/src/utils/ |
D | SkWhitelistTypefaces.cpp | 20 extern void WhitelistSerializeTypeface(const SkTypeface*, SkWStream* ); 86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { in serialize_sub() 114 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) { in serialize_full() 126 static void serialize_name_only(const SkTypeface* tf, SkWStream* wstream) { in serialize_name_only() 155 void WhitelistSerializeTypeface(const SkTypeface* tf, SkWStream* wstream) { in WhitelistSerializeTypeface()
|
/external/skia/src/xml/ |
D | SkXMLWriter.h | 15 class SkWStream; variable 66 SkXMLStreamWriter(SkWStream*); 77 SkWStream& fStream;
|