Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gio ¶
type Gio struct {
// contains filtered or unexported fields
}
func NewContain ¶
NewContain returns a Gio renderer that fills the constraints either horizontally or vertically, whichever is met first.
func NewStretch ¶
NewStretch returns a Gio renderer that stretches the view to fit the constraints.
func (*Gio) Dimensions ¶
func (r *Gio) Dimensions() layout.Dimensions
Dimensions returns the dimensions for Gio.
func (*Gio) RenderImage ¶
RenderImage renders an image to the canvas using a transformation matrix.
func (*Gio) RenderPath ¶
RenderPath renders a path to the canvas using a style and a transformation matrix.
func (*Gio) RenderText ¶
RenderText renders a text object to the canvas using a transformation matrix.
Click to show internal directories.
Click to hide internal directories.