Home
last modified time | relevance | path

Searched refs:SkWStream (Results 1 – 25 of 180) sorted by relevance

12345678

/external/skia/src/pdf/
DSkPDFUtils.h50 void MoveTo(SkScalar x, SkScalar y, SkWStream* content);
51 void AppendLine(SkScalar x, SkScalar y, SkWStream* content);
52 void AppendRectangle(const SkRect& rect, SkWStream* content);
54 bool doConsumeDegerates, SkWStream* content, SkScalar tolerance = 0.25f);
56 SkWStream* content, SkScalar tolerance = 0.25f) {
59 void ClosePath(SkWStream* content);
61 SkWStream* content);
62 void StrokePath(SkWStream* content);
63 void ApplyGraphicState(int objectIndex, SkWStream* content);
64 void ApplyPattern(int objectIndex, SkWStream* content);
[all …]
DSkPDFDocumentPriv.h41 void markStartOfDocument(const SkWStream*);
42 void markStartOfObject(int referenceNumber, const SkWStream*);
44 int emitCrossReferenceTable(SkWStream* s) const;
55 SkPDFDocument(SkWStream*, SkPDF::Metadata);
59 void onClose(SkWStream*) override;
76 SkWStream* stream = this->beginObject(ref); in emitStream()
138 SkWStream* beginObject(SkPDFIndirectReference);
DSkPDFUtils.cpp59 void SkPDFUtils::MoveTo(SkScalar x, SkScalar y, SkWStream* content) { in MoveTo()
66 void SkPDFUtils::AppendLine(SkScalar x, SkScalar y, SkWStream* content) { in AppendLine()
75 SkScalar dstX, SkScalar dstY, SkWStream* content) { in append_cubic()
95 static void append_quad(const SkPoint quad[], SkWStream* content) { in append_quad()
102 void SkPDFUtils::AppendRectangle(const SkRect& rect, SkWStream* content) { in AppendRectangle()
117 bool doConsumeDegerates, SkWStream* content, in EmitPath()
203 void SkPDFUtils::ClosePath(SkWStream* content) { in ClosePath()
208 SkWStream* content) { in PaintPath()
227 void SkPDFUtils::StrokePath(SkWStream* content) { in StrokePath()
232 void SkPDFUtils::ApplyGraphicState(int objectIndex, SkWStream* content) { in ApplyGraphicState()
[all …]
DSkPDFDocument.cpp33 void SkPDFOffsetMap::markStartOfDocument(const SkWStream* s) { fBaseOffset = s->bytesWritten(); } in markStartOfDocument()
39 void SkPDFOffsetMap::markStartOfObject(int referenceNumber, const SkWStream* s) { in markStartOfObject()
52 int SkPDFOffsetMap::emitCrossReferenceTable(SkWStream* s) const { in emitCrossReferenceTable()
74 static void serializeHeader(SkPDFOffsetMap* offsetMap, SkWStream* wStream) { in serializeHeader()
85 SkWStream* s) { in begin_indirect_object()
91 static void end_indirect_object(SkWStream* s) { s->writeText("\nendobj\n"); } in end_indirect_object()
95 SkWStream* wStream, in serialize_footer()
188 SkPDFDocument::SkPDFDocument(SkWStream* stream, in SkPDFDocument()
214 SkWStream* SkPDFDocument::beginObject(SkPDFIndirectReference ref) { in beginObject()
453 void SkPDFDocument::onClose(SkWStream* stream) { in onClose()
[all …]
/external/skqp/src/pdf/
DSkPDFUtils.h50 void MoveTo(SkScalar x, SkScalar y, SkWStream* content);
51 void AppendLine(SkScalar x, SkScalar y, SkWStream* content);
52 void AppendRectangle(const SkRect& rect, SkWStream* content);
54 bool doConsumeDegerates, SkWStream* content, SkScalar tolerance = 0.25f);
56 SkWStream* content, SkScalar tolerance = 0.25f) {
59 void ClosePath(SkWStream* content);
61 SkWStream* content);
62 void StrokePath(SkWStream* content);
63 void ApplyGraphicState(int objectIndex, SkWStream* content);
64 void ApplyPattern(int objectIndex, SkWStream* content);
[all …]
DSkPDFDocumentPriv.h41 void markStartOfDocument(const SkWStream*);
42 void markStartOfObject(int referenceNumber, const SkWStream*);
44 int emitCrossReferenceTable(SkWStream* s) const;
55 SkPDFDocument(SkWStream*, SkPDF::Metadata);
59 void onClose(SkWStream*) override;
76 SkWStream* stream = this->beginObject(ref); in emitStream()
138 SkWStream* beginObject(SkPDFIndirectReference);
DSkPDFUtils.cpp59 void SkPDFUtils::MoveTo(SkScalar x, SkScalar y, SkWStream* content) { in MoveTo()
66 void SkPDFUtils::AppendLine(SkScalar x, SkScalar y, SkWStream* content) { in AppendLine()
75 SkScalar dstX, SkScalar dstY, SkWStream* content) { in append_cubic()
95 static void append_quad(const SkPoint quad[], SkWStream* content) { in append_quad()
102 void SkPDFUtils::AppendRectangle(const SkRect& rect, SkWStream* content) { in AppendRectangle()
117 bool doConsumeDegerates, SkWStream* content, in EmitPath()
203 void SkPDFUtils::ClosePath(SkWStream* content) { in ClosePath()
208 SkWStream* content) { in PaintPath()
227 void SkPDFUtils::StrokePath(SkWStream* content) { in StrokePath()
232 void SkPDFUtils::ApplyGraphicState(int objectIndex, SkWStream* content) { in ApplyGraphicState()
[all …]
DSkPDFDocument.cpp33 void SkPDFOffsetMap::markStartOfDocument(const SkWStream* s) { fBaseOffset = s->bytesWritten(); } in markStartOfDocument()
39 void SkPDFOffsetMap::markStartOfObject(int referenceNumber, const SkWStream* s) { in markStartOfObject()
52 int SkPDFOffsetMap::emitCrossReferenceTable(SkWStream* s) const { in emitCrossReferenceTable()
74 static void serializeHeader(SkPDFOffsetMap* offsetMap, SkWStream* wStream) { in serializeHeader()
85 SkWStream* s) { in begin_indirect_object()
91 static void end_indirect_object(SkWStream* s) { s->writeText("\nendobj\n"); } in end_indirect_object()
95 SkWStream* wStream, in serialize_footer()
188 SkPDFDocument::SkPDFDocument(SkWStream* stream, in SkPDFDocument()
214 SkWStream* SkPDFDocument::beginObject(SkPDFIndirectReference ref) { in beginObject()
454 void SkPDFDocument::onClose(SkWStream* stream) { in onClose()
[all …]
/external/skqp/dm/
DDMSrcSink.h87 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
337 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
350 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
351 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
391 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
413 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
427 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
438 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
447 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
459 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[all …]
/external/skia/dm/
DDMSrcSink.h87 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
323 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
336 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
337 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
377 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
399 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
413 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
433 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
445 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[all …]
/external/skqp/include/core/
DSkDocument.h15 class SkWStream; variable
63 SkDocument(SkWStream*);
71 virtual void onClose(SkWStream*) = 0;
75 SkWStream* getStream() { return fStream; } in getStream()
85 SkWStream* fStream;
DSkStream.h227 class SK_API SkWStream {
229 virtual ~SkWStream();
230 SkWStream() {} in SkWStream() function
281 SkWStream(const SkWStream&) = delete;
282 SkWStream& operator=(const SkWStream&) = delete;
285 class SK_API SkNullWStream : public SkWStream {
438 class SK_API SkFILEWStream : public SkWStream {
455 typedef SkWStream INHERITED;
458 class SK_API SkDynamicMemoryWStream : public SkWStream {
472 bool writeToStream(SkWStream* dst) const;
[all …]
/external/skia/include/core/
DSkDocument.h15 class SkWStream; variable
63 SkDocument(SkWStream*);
71 virtual void onClose(SkWStream*) = 0;
75 SkWStream* getStream() { return fStream; } in getStream()
85 SkWStream* fStream;
DSkStream.h227 class SK_API SkWStream {
229 virtual ~SkWStream();
230 SkWStream() {} in SkWStream() function
281 SkWStream(const SkWStream&) = delete;
282 SkWStream& operator=(const SkWStream&) = delete;
285 class SK_API SkNullWStream : public SkWStream {
438 class SK_API SkFILEWStream : public SkWStream {
455 typedef SkWStream INHERITED;
458 class SK_API SkDynamicMemoryWStream : public SkWStream {
472 bool writeToStream(SkWStream* dst) const;
[all …]
/external/skqp/src/images/
DSkImageEncoder.cpp14 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()
/external/skia/src/images/
DSkImageEncoder.cpp14 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()
/external/skqp/src/xps/
DSkXPSDocument.cpp28 SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>);
32 void onClose(SkWStream*) override;
37 SkXPSDocument::SkXPSDocument(SkWStream* stream, in SkXPSDocument()
70 void SkXPSDocument::onClose(SkWStream*) { in onClose() argument
79 sk_sp<SkDocument> SkXPS::MakeDocument(SkWStream* stream, in MakeDocument()
/external/skia/src/xps/
DSkXPSDocument.cpp28 SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>);
32 void onClose(SkWStream*) override;
37 SkXPSDocument::SkXPSDocument(SkWStream* stream, in SkXPSDocument()
69 void SkXPSDocument::onClose(SkWStream*) { in onClose() argument
78 sk_sp<SkDocument> SkXPS::MakeDocument(SkWStream* stream, in MakeDocument()
/external/skqp/src/ports/
DSkImageEncoder_CG.cpp33 SkWStream* stream = reinterpret_cast<SkWStream*>(info); in consumer_put()
41 static SkUniqueCFRef<CGDataConsumerRef> SkStreamToCGDataConsumer(SkWStream* stream) { in SkStreamToCGDataConsumer()
50 static SkUniqueCFRef<CGImageDestinationRef> SkStreamToImageDestination(SkWStream* stream, in SkStreamToImageDestination()
65 bool SkEncodeImageWithCG(SkWStream* stream, const SkPixmap& pixmap, SkEncodedImageFormat format) { in SkEncodeImageWithCG()
/external/skia/src/ports/
DSkImageEncoder_CG.cpp33 SkWStream* stream = reinterpret_cast<SkWStream*>(info); in consumer_put()
41 static SkUniqueCFRef<CGDataConsumerRef> SkStreamToCGDataConsumer(SkWStream* stream) { in SkStreamToCGDataConsumer()
50 static SkUniqueCFRef<CGImageDestinationRef> SkStreamToImageDestination(SkWStream* stream, in SkStreamToImageDestination()
65 bool SkEncodeImageWithCG(SkWStream* stream, const SkPixmap& pixmap, SkEncodedImageFormat format) { in SkEncodeImageWithCG()
/external/skqp/bench/
DEncodeBench.cpp24 using Encoder = bool (*)(SkWStream*, const SkPixmap&);
55 static bool encode_jpeg(SkWStream* dst, const SkPixmap& src) { in encode_jpeg()
61 static bool encode_webp_lossy(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossy()
68 static bool encode_webp_lossless(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossless()
75 static bool encode_png(SkWStream* dst, in encode_png()
85 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \
/external/skia/bench/
DEncodeBench.cpp24 using Encoder = bool (*)(SkWStream*, const SkPixmap&);
55 static bool encode_jpeg(SkWStream* dst, const SkPixmap& src) { in encode_jpeg()
61 static bool encode_webp_lossy(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossy()
68 static bool encode_webp_lossless(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossless()
75 static bool encode_png(SkWStream* dst, in encode_png()
85 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \
/external/skqp/tools/fonts/
DSkTestSVGTypeface.h35 class SkWStream; variable
59 void exportTtxCbdt(SkWStream*) const;
60 void exportTtxSbix(SkWStream*) const;
61 void exportTtxColr(SkWStream*) const;
76 void exportTtxCommon(SkWStream*, const char* type, const SkTArray<GlyfInfo>* = nullptr) const;
/external/skia/tools/fonts/
DSkTestSVGTypeface.h35 class SkWStream; variable
59 void exportTtxCbdt(SkWStream*) const;
60 void exportTtxSbix(SkWStream*) const;
61 void exportTtxColr(SkWStream*) const;
76 void exportTtxCommon(SkWStream*, const char* type, const SkTArray<GlyfInfo>* = nullptr) const;
/external/skqp/include/encode/
DSkJpegEncoder.h14 class SkWStream; variable
72 static bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);
82 static std::unique_ptr<SkEncoder> Make(SkWStream* dst, const SkPixmap& src,

12345678