SVGDOM
- class SVGDOM
Methods
Increment the reference count.
May return true if the caller is the only owner.
Decrement the reference count.
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.