Documentation
¶
Index ¶
- type AtomicFloat
- type Point
- func (p *Point) AddPos(s Point)
- func (p *Point) AddX(x int32)
- func (p *Point) AddXY(x, y int32)
- func (p *Point) AddY(y int32)
- func (p Point) Equal(s Point) bool
- func (p *Point) GetX() int32
- func (p *Point) GetXY() (int32, int32)
- func (p *Point) GetY() int32
- func (p Point) SDLPoint() *sdl.Point
- func (p *Point) SetPos(s Point)
- func (p *Point) SetX(x int32)
- func (p *Point) SetXY(x, y int32)
- func (p *Point) SetY(y int32)
- type Rect
- func (r *Rect) AddH(h int32)
- func (r *Rect) AddW(w int32)
- func (r *Rect) AddWH(w, h int32)
- func (r *Rect) AddX(x int32)
- func (r *Rect) AddXY(x, y int32)
- func (r *Rect) AddY(y int32)
- func (r *Rect) Equals(s Rect) bool
- func (r *Rect) GetH() int32
- func (r *Rect) GetW() int32
- func (r *Rect) GetWH() (int32, int32)
- func (r *Rect) GetX() int32
- func (r *Rect) GetXY() (int32, int32)
- func (r *Rect) GetY() int32
- func (r *Rect) SDLRect() *sdl.Rect
- func (r *Rect) SetH(h int32)
- func (r *Rect) SetPos(s Rect)
- func (r *Rect) SetRect(s Rect)
- func (r *Rect) SetW(w int32)
- func (r *Rect) SetWH(w, h int32)
- func (r *Rect) SetX(x int32)
- func (r *Rect) SetXY(x, y int32)
- func (r *Rect) SetXYWH(x, y, w, h int32)
- func (r *Rect) SetY(y int32)
- type Transform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicFloat ¶
type AtomicFloat struct {
// contains filtered or unexported fields
}
func NewAtomicFloat ¶
func NewAtomicFloat(f float64) AtomicFloat
func (*AtomicFloat) Add ¶
func (f *AtomicFloat) Add(n float64)
func (*AtomicFloat) Get ¶
func (f *AtomicFloat) Get() float64
func (*AtomicFloat) Set ¶
func (f *AtomicFloat) Set(n float64)
type Point ¶
type Point struct {
// contains filtered or unexported fields
}
Point is a thread-safe implementation of SDL_POINT
Click to show internal directories.
Click to hide internal directories.