Documentation ¶
Index ¶
- type ImageBuffer
- type ImageListBuffer
- func (il *ImageListBuffer) Append(value *ImageBuffer) bool
- func (il *ImageListBuffer) Clear() bool
- func (il *ImageListBuffer) Destroy()
- func (il *ImageListBuffer) Get(index uint64) image.Image
- func (il *ImageListBuffer) GetAll() []image.Image
- func (il *ImageListBuffer) Handle() uintptr
- func (il *ImageListBuffer) IsEmpty() bool
- func (il *ImageListBuffer) Remove(index uint64) bool
- func (il *ImageListBuffer) Size() uint64
- type Rect
- type RectBuffer
- type StringBuffer
- func (s *StringBuffer) Clear() bool
- func (s *StringBuffer) Destroy()
- func (s *StringBuffer) Get() string
- func (s *StringBuffer) Handle() uintptr
- func (s *StringBuffer) IsEmpty() bool
- func (s *StringBuffer) Set(str string) bool
- func (s *StringBuffer) SetWithSize(str string, size uint64) bool
- func (s *StringBuffer) Size() uint64
- type StringListBuffer
- func (sl *StringListBuffer) Append(value *StringBuffer) bool
- func (sl *StringListBuffer) Clear() bool
- func (sl *StringListBuffer) Destroy()
- func (sl *StringListBuffer) Get(index uint64) string
- func (sl *StringListBuffer) GetAll() []string
- func (sl *StringListBuffer) Handle() uintptr
- func (sl *StringListBuffer) IsEmpty() bool
- func (sl *StringListBuffer) Remove(index uint64) bool
- func (sl *StringListBuffer) Size() uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageBuffer ¶
type ImageBuffer struct {
// contains filtered or unexported fields
}
func NewImageBuffer ¶
func NewImageBuffer() *ImageBuffer
func NewImageBufferByHandle ¶
func NewImageBufferByHandle(handle uintptr) *ImageBuffer
func (*ImageBuffer) Clear ¶
func (i *ImageBuffer) Clear() bool
func (*ImageBuffer) Destroy ¶
func (i *ImageBuffer) Destroy()
func (*ImageBuffer) Get ¶ added in v1.1.0
func (i *ImageBuffer) Get() image.Image
Get retrieves the image from raw data stored in the buffer.
func (*ImageBuffer) Handle ¶
func (i *ImageBuffer) Handle() uintptr
func (*ImageBuffer) IsEmpty ¶
func (i *ImageBuffer) IsEmpty() bool
type ImageListBuffer ¶
type ImageListBuffer struct {
// contains filtered or unexported fields
}
func NewImageListBuffer ¶
func NewImageListBuffer() *ImageListBuffer
func NewImageListBufferByHandle ¶
func NewImageListBufferByHandle(handle uintptr) *ImageListBuffer
func (*ImageListBuffer) Append ¶
func (il *ImageListBuffer) Append(value *ImageBuffer) bool
func (*ImageListBuffer) Clear ¶
func (il *ImageListBuffer) Clear() bool
func (*ImageListBuffer) Destroy ¶
func (il *ImageListBuffer) Destroy()
func (*ImageListBuffer) GetAll ¶
func (il *ImageListBuffer) GetAll() []image.Image
func (*ImageListBuffer) Handle ¶
func (il *ImageListBuffer) Handle() uintptr
func (*ImageListBuffer) IsEmpty ¶
func (il *ImageListBuffer) IsEmpty() bool
func (*ImageListBuffer) Remove ¶
func (il *ImageListBuffer) Remove(index uint64) bool
func (*ImageListBuffer) Size ¶
func (il *ImageListBuffer) Size() uint64
type RectBuffer ¶ added in v1.0.1
type RectBuffer struct {
// contains filtered or unexported fields
}
func NewRectBuffer ¶ added in v1.0.1
func NewRectBuffer() *RectBuffer
func NewRectBufferByHandle ¶ added in v1.0.1
func NewRectBufferByHandle(handle uintptr) *RectBuffer
func (*RectBuffer) Destroy ¶ added in v1.0.1
func (r *RectBuffer) Destroy()
func (*RectBuffer) Get ¶ added in v1.0.1
func (r *RectBuffer) Get() Rect
func (*RectBuffer) GetH ¶ added in v1.0.1
func (r *RectBuffer) GetH() int32
func (*RectBuffer) GetW ¶ added in v1.0.1
func (r *RectBuffer) GetW() int32
func (*RectBuffer) GetX ¶ added in v1.0.1
func (r *RectBuffer) GetX() int32
func (*RectBuffer) GetY ¶ added in v1.0.1
func (r *RectBuffer) GetY() int32
func (*RectBuffer) Handle ¶ added in v1.0.1
func (r *RectBuffer) Handle() uintptr
func (*RectBuffer) Set ¶ added in v1.0.1
func (r *RectBuffer) Set(rect Rect) bool
type StringBuffer ¶
type StringBuffer struct {
// contains filtered or unexported fields
}
func NewStringBuffer ¶
func NewStringBuffer() *StringBuffer
func NewStringBufferByHandle ¶
func NewStringBufferByHandle(handle uintptr) *StringBuffer
func (*StringBuffer) Clear ¶
func (s *StringBuffer) Clear() bool
func (*StringBuffer) Destroy ¶
func (s *StringBuffer) Destroy()
func (*StringBuffer) Get ¶
func (s *StringBuffer) Get() string
func (*StringBuffer) Handle ¶
func (s *StringBuffer) Handle() uintptr
func (*StringBuffer) IsEmpty ¶
func (s *StringBuffer) IsEmpty() bool
func (*StringBuffer) Set ¶
func (s *StringBuffer) Set(str string) bool
func (*StringBuffer) SetWithSize ¶
func (s *StringBuffer) SetWithSize(str string, size uint64) bool
func (*StringBuffer) Size ¶
func (s *StringBuffer) Size() uint64
type StringListBuffer ¶
type StringListBuffer struct {
// contains filtered or unexported fields
}
func NewStringListBuffer ¶
func NewStringListBuffer() *StringListBuffer
func NewStringListBufferByHandle ¶
func NewStringListBufferByHandle(handle uintptr) *StringListBuffer
func (*StringListBuffer) Append ¶
func (sl *StringListBuffer) Append(value *StringBuffer) bool
func (*StringListBuffer) Clear ¶
func (sl *StringListBuffer) Clear() bool
func (*StringListBuffer) Destroy ¶
func (sl *StringListBuffer) Destroy()
func (*StringListBuffer) Get ¶
func (sl *StringListBuffer) Get(index uint64) string
func (*StringListBuffer) GetAll ¶
func (sl *StringListBuffer) GetAll() []string
func (*StringListBuffer) Handle ¶
func (sl *StringListBuffer) Handle() uintptr
func (*StringListBuffer) IsEmpty ¶
func (sl *StringListBuffer) IsEmpty() bool
func (*StringListBuffer) Remove ¶
func (sl *StringListBuffer) Remove(index uint64) bool
func (*StringListBuffer) Size ¶
func (sl *StringListBuffer) Size() uint64
Click to show internal directories.
Click to hide internal directories.