package
Version:
v0.0.0-...-2c3a8a6
Opens a new window with list of versions in this module.
Published: Jun 6, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Point(to Alignment, pt *geom.Point, rX, rY, rW, rH float64)
-
func PointInSdlRect(to Alignment, pt *geom.Point, r sdl.Rect)
-
func Values(to Alignment, x, y *float64, rX, rY, rW, rH float64)
-
func XYInSdlRect(to Alignment, xy geom.XYSetter, r sdl.Rect)
-
type Alignment
const (
ToCenter Alignment = iota + 1
ToTop
ToTopCenter
ToBottom
ToBottomCenter
ToLeft
ToLeftMiddle
ToRight
ToRightMiddle
ToTopLeft
ToTopRight
ToBottomLeft
ToBottomRight
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.