Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Private Member Functions | List of all members
SkSVGTextLiteral Class Referencefinal

#include <SkSVGText.h>

Inheritance diagram for SkSVGTextLiteral:
SkSVGTextFragment SkSVGTransformableNode SkSVGNode SkRefCnt SkRefCntBase

Static Public Member Functions

static sk_sp< SkSVGTextLiteralMake ()
 

Private Member Functions

void onShapeText (const SkSVGRenderContext &, SkSVGTextContext *, SkSVGXmlSpace) const override
 
void appendChild (sk_sp< SkSVGNode >) override
 

Additional Inherited Members

- Public Member Functions inherited from SkSVGTextFragment
void renderText (const SkSVGRenderContext &, SkSVGTextContext *, SkSVGXmlSpace) const
 
- Public Member Functions inherited from SkSVGTransformableNode
void setTransform (const SkSVGTransformType &t)
 
- Public Member Functions inherited from SkSVGNode
 ~SkSVGNode () override
 
SkSVGTag tag () const
 
void render (const SkSVGRenderContext &) const
 
bool asPaint (const SkSVGRenderContext &, SkPaint *) const
 
SkPath asPath (const SkSVGRenderContext &) const
 
SkRect objectBoundingBox (const SkSVGRenderContext &) const
 
void setAttribute (SkSVGAttribute, const SkSVGValue &)
 
bool setAttribute (const char *attributeName, const char *attributeValue)
 
virtual bool parseAndSetAttribute (const char *name, const char *value)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
- Protected Member Functions inherited from SkSVGTextFragment
 SkSVGTextFragment (SkSVGTag t)
 
void onRender (const SkSVGRenderContext &) const override
 
- Protected Member Functions inherited from SkSVGTransformableNode
 SkSVGTransformableNode (SkSVGTag)
 
bool onPrepareToRender (SkSVGRenderContext *) const override
 
void onSetAttribute (SkSVGAttribute, const SkSVGValue &) override
 
void mapToParent (SkPath *) const
 
void mapToParent (SkRect *) const
 
- Protected Member Functions inherited from SkSVGNode
 SkSVGNode (SkSVGTag)
 
virtual bool onAsPaint (const SkSVGRenderContext &, SkPaint *) const
 
virtual bool hasChildren () const
 
virtual SkRect onObjectBoundingBox (const SkSVGRenderContext &) const
 
- Static Protected Member Functions inherited from SkSVGNode
static SkMatrix ComputeViewboxMatrix (const SkRect &, const SkRect &, SkSVGPreserveAspectRatio)
 

Detailed Description

Definition at line 88 of file SkSVGText.h.

Member Function Documentation

◆ appendChild()

void SkSVGTextLiteral::appendChild ( sk_sp< SkSVGNode )
inlineoverrideprivatevirtual

Implements SkSVGNode.

Definition at line 101 of file SkSVGText.h.

101{}

◆ Make()

static sk_sp< SkSVGTextLiteral > SkSVGTextLiteral::Make ( )
inlinestatic

Definition at line 90 of file SkSVGText.h.

◆ onShapeText()

void SkSVGTextLiteral::onShapeText ( const SkSVGRenderContext ctx,
SkSVGTextContext tctx,
SkSVGXmlSpace  xs 
) const
overrideprivatevirtual

Implements SkSVGTextFragment.

Definition at line 596 of file SkSVGText.cpp.

597 {
598 SkASSERT(tctx);
599
600 tctx->shapeFragment(this->getText(), ctx, xs);
601}
#define SkASSERT(cond)
Definition SkAssert.h:116
void shapeFragment(const SkString &, const SkSVGRenderContext &, SkSVGXmlSpace)

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