Flutter Engine
The Flutter Engine
Public Member Functions | Protected Attributes | List of all members
DM::Via Class Reference

#include <DMSrcSink.h>

Inheritance diagram for DM::Via:
DM::Sink DM::ViaMatrix DM::ViaPicture DM::ViaRuntimeBlend DM::ViaSVG DM::ViaSerialization DM::ViaUpright

Public Member Functions

 Via (Sink *sink)
 
const char * fileExtension () const override
 
bool serial () const override
 
SinkFlags flags () const override
 
void setColorSpace (sk_sp< SkColorSpace > colorSpace) override
 
- Public Member Functions inherited from DM::Sink
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
 

Protected Attributes

std::unique_ptr< SinkfSink
 

Detailed Description

Definition at line 629 of file DMSrcSink.h.

Constructor & Destructor Documentation

◆ Via()

DM::Via::Via ( Sink sink)
inlineexplicit

Definition at line 631 of file DMSrcSink.h.

631: fSink(sink) {}
std::unique_ptr< Sink > fSink
Definition: DMSrcSink.h:643

Member Function Documentation

◆ fileExtension()

const char * DM::Via::fileExtension ( ) const
inlineoverridevirtual

Implements DM::Sink.

Definition at line 632 of file DMSrcSink.h.

632{ return fSink->fileExtension(); }

◆ flags()

SinkFlags DM::Via::flags ( ) const
inlineoverridevirtual

Implements DM::Sink.

Definition at line 634 of file DMSrcSink.h.

634 {
635 SinkFlags flags = fSink->flags();
637 return flags;
638 }
SinkFlags flags() const override
Definition: DMSrcSink.h:634
enum DM::SinkFlags::Approach approach

◆ serial()

bool DM::Via::serial ( ) const
inlineoverridevirtual

Reimplemented from DM::Sink.

Definition at line 633 of file DMSrcSink.h.

633{ return fSink->serial(); }

◆ setColorSpace()

void DM::Via::setColorSpace ( sk_sp< SkColorSpace colorSpace)
inlineoverridevirtual

Reimplemented from DM::Sink.

Definition at line 639 of file DMSrcSink.h.

639 {
640 fSink->setColorSpace(colorSpace);
641 }

Member Data Documentation

◆ fSink

std::unique_ptr<Sink> DM::Via::fSink
protected

Definition at line 643 of file DMSrcSink.h.


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