Documentation ¶
Index ¶
Constants ¶
View Source
const SizeOfDataHeader = 36
Variables ¶
This section is empty.
Functions ¶
func NewDataHeader ¶
func ZeroPadding ¶
Types ¶
type DataHeader ¶
func GetDataHeader ¶
func GetDataHeader(data []byte) (*DataHeader, error)
type ImageBrush ¶
type ImageBrush struct {
Height, Width uint
PixelChan chan color.NRGBA
ByteChan chan byte
IntChan chan int
}
func NewImageBrush ¶
func NewImageBrush(x, y uint) *ImageBrush
func (*ImageBrush) ReadFromBytesChan ¶
func (IB *ImageBrush) ReadFromBytesChan(size int) []byte
func (*ImageBrush) SerializeTo ¶
func (IB *ImageBrush) SerializeTo(data []byte) error
Click to show internal directories.
Click to hide internal directories.