svgcanvas

package module
v0.0.0-...-5e74d57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 5 Imported by: 0

README

SVG Canvas

This is a driver for oksvg SVG parsing library for Canvas, which is a rendering framework. The goal is to be able to use Canvas' variety of renderers, such as GioUI, to paint SVG's.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func New

func New(r canvas.Renderer) Driver

func NewScaled

func NewScaled(r canvas.Renderer, scale float64) Driver

func (Driver) SetupDrawers

func (d Driver) SetupDrawers(willFill bool, willStroke bool) (svgicon.Filler, svgicon.Stroker)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL