gg/draw.go

16 lines
287 B
Go
Raw Normal View History

2024-01-13 18:17:34 +03:00
package gg
2024-05-28 11:24:12 +03:00
type Drawing struct {
EVertices []EVertice
}
// The interface describes anything that can be
// drawn. It will be drew corresponding to
// the layers order so the layer must be returned.
type Drawer interface {
Draw(Context) Drawing
GetLayer() Layer
IsVisible() bool
}