Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
DM::Sink Struct Referenceabstract

#include <DMSrcSink.h>

Inheritance diagram for DM::Sink:
DM::DebugSink DM::GPUSink DM::NullSink DM::PDFSink DM::RasterSink DM::SKPSink DM::SVGSink DM::Via DM::XPSSink

Public Member Functions

virtual ~Sink ()
 
virtual Result draw (const Src &, SkBitmap *, SkWStream *, SkString *log) const =0
 
virtual void setColorSpace (sk_sp< SkColorSpace >)
 
virtual bool serial () const
 
virtual const char * fileExtension () const =0
 
virtual SinkFlags flags () const =0
 
virtual SkColorInfo colorInfo () const
 

Detailed Description

Definition at line 114 of file DMSrcSink.h.

Constructor & Destructor Documentation

◆ ~Sink()

virtual DM::Sink::~Sink ( )
inlinevirtual

Definition at line 115 of file DMSrcSink.h.

115{}

Member Function Documentation

◆ colorInfo()

virtual SkColorInfo DM::Sink::colorInfo ( ) const
inlinevirtual

Returns the color type and space used by the sink.

Reimplemented in DM::GPUSink, and DM::RasterSink.

Definition at line 131 of file DMSrcSink.h.

131{ return SkColorInfo(); }

◆ draw()

virtual Result DM::Sink::draw ( const Src ,
SkBitmap ,
SkWStream ,
SkString log 
) const
pure virtual

◆ fileExtension()

virtual const char * DM::Sink::fileExtension ( ) const
pure virtual

◆ flags()

virtual SinkFlags DM::Sink::flags ( ) const
pure virtual

◆ serial()

virtual bool DM::Sink::serial ( ) const
inlinevirtual

Reimplemented in DM::GPUSink, and DM::Via.

Definition at line 123 of file DMSrcSink.h.

123{ return false; }

◆ setColorSpace()

virtual void DM::Sink::setColorSpace ( sk_sp< SkColorSpace )
inlinevirtual

Reimplemented in DM::GPUSink, DM::RasterSink, and DM::Via.

Definition at line 120 of file DMSrcSink.h.

120{}

The documentation for this struct was generated from the following file: