graph

package
v0.0.0-...-2adf51d Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
}

func (Graph) FillPoly

func (_ Graph) FillPoly(gc *draw2dimg.GraphicContext, c color.Color, v ...float64)

func (Graph) FillPolyRel

func (_ Graph) FillPolyRel(gc *draw2dimg.GraphicContext, c color.Color, v ...float64)

func (Graph) FillRectangle

func (_ Graph) FillRectangle(gc *draw2dimg.GraphicContext, x, y, w, h float64, c color.Color) (float64, float64)

func (Graph) New1080p

func (g Graph) New1080p() renderer.Context

func (Graph) New4k

func (g Graph) New4k() renderer.Context

func (Graph) New720p

func (g Graph) New720p() renderer.Context

func (Graph) NewContext

func (g Graph) NewContext() renderer.Context

func (Graph) NewFont

func (_ Graph) NewFont(name string, size float64, family draw2d.FontFamily, style draw2d.FontStyle) font.Font

func (Graph) NewImageContext

func (_ Graph) NewImageContext(img draw.Image) renderer.Context

func (Graph) NewSizedContext

func (_ Graph) NewSizedContext(w, h int) renderer.Context

func (Graph) ParseFont

func (_ Graph) ParseFont(s string) (font.Font, error)

func (Graph) Rectangle

func (_ Graph) Rectangle(gc *draw2dimg.GraphicContext, x, y, w, h float64)

func (Graph) RelLine

func (_ Graph) RelLine(gc *draw2dimg.GraphicContext, x, y float64, v ...float64)

func (Graph) SetFont

func (_ Graph) SetFont(gc *draw2dimg.GraphicContext, s string) error

Jump to

Keyboard shortcuts

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