Versions in this module Expand all Collapse all v0 v0.0.1 Jan 21, 2024 Changes in this version + const CommandSize + const FillModeNonzero + const FillModeStroke + func DecodeCubic(cmd Command) (from, ctrl0, ctrl1, to f32.Point) + func DecodeGap(cmd Command) (from, to f32.Point) + func DecodeLine(cmd Command) (from, to f32.Point) + func DecodeQuad(cmd Command) (from, ctrl, to f32.Point) + type Command [sceneElemSize / 4]uint32 + func BeginClip(bbox f32.Rectangle) Command + func Cubic(start, ctrl0, ctrl1, end f32.Point) Command + func EndClip(bbox f32.Rectangle) Command + func FillColor(col color.RGBA) Command + func FillImage(index int, offset image.Point) Command + func Gap(start, end f32.Point) Command + func Line(start, end f32.Point) Command + func Quad(start, ctrl, end f32.Point) Command + func SetFillMode(mode FillMode) Command + func SetLineWidth(width float32) Command + func Transform(m f32.Affine2D) Command + func (c Command) Op() Op + func (c Command) String() string + type FillMode uint32 + type Op uint32 + const OpBeginClip + const OpCubic + const OpEndClip + const OpFillColor + const OpFillImage + const OpGap + const OpLine + const OpLineWidth + const OpNop + const OpQuad + const OpSetFillMode + const OpTransform