graph

package
v0.0.0-...-17e2f5f Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) New4k

func (g Graph) New4k() renderer.Context

func (Graph) New720p

func (g Graph) New720p() renderer.Context

func (Graph) New1080p

func (g Graph) New1080p() 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