ui

package
v0.0.0-...-1b23d78 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clip2DStack

type Clip2DStack []Range

Clip2DStack stack type for 2D clipping

func (*Clip2DStack) Load

func (s *Clip2DStack) Load(rect Rect)

Load rect into stack top

func (*Clip2DStack) LoadInf

func (s *Clip2DStack) LoadInf(rect Rect)

LoadInf load a very large rect, make it act as no clip at all. the components is large numbers, not realy INF.

func (*Clip2DStack) Peek

func (s *Clip2DStack) Peek() Rect

Peek stack top

func (*Clip2DStack) Pop

func (s *Clip2DStack) Pop() error

Pop stack

func (*Clip2DStack) Push

func (s *Clip2DStack) Push()

Push stack, new top is a very large rect.

type Mat4

type Mat4 = calc.Mat4

Mat4 type

type Point

type Point = calc.Point2

Point type

type Range

type Range = calc.Range2

Range type

type Rect

type Rect = calc.Rect2

Rect type

type Size

type Size = calc.Size2

Size type

type Vec2

type Vec2 = calc.Vec2

Vec2 type

type Vec3

type Vec3 = calc.Vec3

Vec3 type

type Vec4

type Vec4 = calc.Vec4

Vec4 type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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