Home
last modified time | relevance | path

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

1234567

/external/skia/src/pdf/
DSkPDFUtils.h49 void AppendTransform(const SkMatrix& matrix, SkWStream* content);
51 void MoveTo(SkScalar x, SkScalar y, SkWStream* content);
52 void AppendLine(SkScalar x, SkScalar y, SkWStream* content);
55 SkScalar dstX, SkScalar dstY, SkWStream* content);
56 void AppendRectangle(const SkRect& rect, SkWStream* content);
58 bool doConsumeDegerates, SkWStream* content, SkScalar tolerance = 0.25f);
60 SkWStream* content, SkScalar tolerance = 0.25f) {
63 void ClosePath(SkWStream* content);
65 SkWStream* content);
66 void StrokePath(SkWStream* content);
[all …]
DSkPDFDocument.h27 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream,
42 void serializeHeader(SkWStream*, const SkDocument::PDFMetadata&);
43 void serializeObjects(SkWStream*);
44 void serializeFooter(SkWStream*, const sk_sp<SkPDFObject>, sk_sp<SkPDFObject>);
45 int32_t offset(SkWStream*);
53 SkPDFDocument(SkWStream*,
58 void onClose(SkWStream*) override;
DSkPDFUtils.cpp46 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 …]
DSkPDFTypes.h22 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,
DSkPDFDocument.cpp38 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()
393 void SkPDFDocument::onClose(SkWStream* stream) { in onClose()
426 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream, in SkPDFMakeDocument()
438 sk_sp<SkDocument> SkDocument::MakePDF(SkWStream* stream, const PDFMetadata& metadata) { in MakePDF()
442 sk_sp<SkDocument> SkDocument::MakePDF(SkWStream* stream) { in MakePDF()
/external/skqp/src/pdf/
DSkPDFUtils.h49 void AppendTransform(const SkMatrix& matrix, SkWStream* content);
51 void MoveTo(SkScalar x, SkScalar y, SkWStream* content);
52 void AppendLine(SkScalar x, SkScalar y, SkWStream* content);
55 SkScalar dstX, SkScalar dstY, SkWStream* content);
56 void AppendRectangle(const SkRect& rect, SkWStream* content);
58 bool doConsumeDegerates, SkWStream* content, SkScalar tolerance = 0.25f);
60 SkWStream* content, SkScalar tolerance = 0.25f) {
63 void ClosePath(SkWStream* content);
65 SkWStream* content);
66 void StrokePath(SkWStream* content);
[all …]
DSkPDFDocument.h27 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream,
42 void serializeHeader(SkWStream*, const SkDocument::PDFMetadata&);
43 void serializeObjects(SkWStream*);
44 void serializeFooter(SkWStream*, const sk_sp<SkPDFObject>, sk_sp<SkPDFObject>);
45 int32_t offset(SkWStream*);
53 SkPDFDocument(SkWStream*,
58 void onClose(SkWStream*) override;
DSkPDFUtils.cpp46 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 …]
DSkPDFTypes.h22 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,
DSkPDFDocument.cpp38 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()
393 void SkPDFDocument::onClose(SkWStream* stream) { in onClose()
426 sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream, in SkPDFMakeDocument()
438 sk_sp<SkDocument> SkDocument::MakePDF(SkWStream* stream, const PDFMetadata& metadata) { in MakePDF()
442 sk_sp<SkDocument> SkDocument::MakePDF(SkWStream* stream) { in MakePDF()
/external/skia/include/core/
DSkDocument.h19 class SkWStream; variable
128 static sk_sp<SkDocument> MakePDF(SkWStream* stream, const PDFMetadata& metadata);
129 static sk_sp<SkDocument> MakePDF(SkWStream* stream);
153 static sk_sp<SkDocument> MakeXPS(SkWStream* stream,
187 SkDocument(SkWStream*);
195 virtual void onClose(SkWStream*) = 0;
199 SkWStream* getStream() { return fStream; } in getStream()
209 SkWStream* fStream;
DSkStream.h215 class SK_API SkWStream : SkNoncopyable {
217 virtual ~SkWStream();
268 class SK_API SkNullWStream : public SkWStream {
421 class SK_API SkFILEWStream : public SkWStream {
438 typedef SkWStream INHERITED;
441 class SK_API SkDynamicMemoryWStream : public SkWStream {
453 bool writeToStream(SkWStream* dst) const;
459 bool writeToAndReset(SkWStream* dst);
486 typedef SkWStream INHERITED;
/external/skqp/include/core/
DSkDocument.h19 class SkWStream; variable
128 static sk_sp<SkDocument> MakePDF(SkWStream* stream, const PDFMetadata& metadata);
129 static sk_sp<SkDocument> MakePDF(SkWStream* stream);
153 static sk_sp<SkDocument> MakeXPS(SkWStream* stream,
187 SkDocument(SkWStream*);
195 virtual void onClose(SkWStream*) = 0;
199 SkWStream* getStream() { return fStream; } in getStream()
209 SkWStream* fStream;
DSkStream.h215 class SK_API SkWStream : SkNoncopyable {
217 virtual ~SkWStream();
268 class SK_API SkNullWStream : public SkWStream {
419 class SK_API SkFILEWStream : public SkWStream {
436 typedef SkWStream INHERITED;
439 class SK_API SkDynamicMemoryWStream : public SkWStream {
451 bool writeToStream(SkWStream* dst) const;
457 bool writeToAndReset(SkWStream* dst);
484 typedef SkWStream INHERITED;
/external/skia/dm/
DDMSrcSink.h89 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
333 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
346 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
347 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
379 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
395 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
406 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
415 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
437 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[all …]
/external/skqp/dm/
DDMSrcSink.h89 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
333 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
346 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
347 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
379 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
395 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
406 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
415 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
436 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[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/ports/
DSkImageEncoder_CG.cpp32 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/src/ports/
DSkImageEncoder_CG.cpp32 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/skqp/src/core/
DSkPipe.h18 class SkWStream; variable
34 void writeImage(SkImage*, SkWStream*);
35 void writePicture(SkPicture*, SkWStream*);
37 SkCanvas* beginWrite(const SkRect& cullBounds, SkWStream*);
/external/skia/src/core/
DSkPipe.h18 class SkWStream; variable
34 void writeImage(SkImage*, SkWStream*);
35 void writePicture(SkPicture*, SkWStream*);
37 SkCanvas* beginWrite(const SkRect& cullBounds, SkWStream*);
/external/skqp/bench/
DEncoderBench.cpp18 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/bench/
DEncoderBench.cpp18 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/include/encode/
DSkJpegEncoder.h14 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,

1234567