SVGDOM

class SVGDOM

Methods

MakeFromStream

MakeFromStream(stream: skia.Stream) -> skia.SVGDOM

__init__

containerSize

containerSize(self: skia.SVGDOM) -> skia.Size

ref

ref(self: skia.RefCntBase) -> None

render

render(self: skia.SVGDOM, arg0: skia.Canvas) -> None

renderNode

renderNode(self: skia.SVGDOM, arg0: skia.Canvas, arg1: str) -> None

setContainerSize

setContainerSize(self: skia.SVGDOM, arg0: skia.Size) -> None

unique

unique(self: skia.RefCntBase) -> bool

unref

unref(self: skia.RefCntBase) -> None

Methods

static SVGDOM.MakeFromStream(stream: skia.Stream) skia.SVGDOM
SVGDOM.__init__(*args, **kwargs)
SVGDOM.containerSize(self: skia.SVGDOM) skia.Size
SVGDOM.ref(self: skia.RefCntBase) None

Increment the reference count.

Must be balanced by a call to unref().

SVGDOM.render(self: skia.SVGDOM, arg0: skia.Canvas) None
SVGDOM.renderNode(self: skia.SVGDOM, arg0: skia.Canvas, arg1: str) None
SVGDOM.setContainerSize(self: skia.SVGDOM, arg0: skia.Size) None
SVGDOM.unique(self: skia.RefCntBase) bool

May return true if the caller is the only owner.

Ensures that all previous owner’s actions are complete.

SVGDOM.unref(self: skia.RefCntBase) None

Decrement the reference count.

If the reference count is 1 before the decrement, then delete the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.