Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitFloat64 ¶
Types ¶
type PointIntf ¶
type PointIntf struct {
X, Y Intf
}
func (PointIntf) In ¶
func (p PointIntf) In(r RectangleIntf) bool
func (PointIntf) ToPointCeil ¶
func (PointIntf) ToPointFloor ¶
type RectangleIntf ¶
type RectangleIntf struct {
Min, Max PointIntf
}
func RIntf ¶
func RIntf(r image.Rectangle) RectangleIntf
func (RectangleIntf) Add ¶
func (r RectangleIntf) Add(p PointIntf) RectangleIntf
func (RectangleIntf) Empty ¶
func (r RectangleIntf) Empty() bool
func (RectangleIntf) Intersect ¶
func (r RectangleIntf) Intersect(s RectangleIntf) RectangleIntf
func (RectangleIntf) Sub ¶
func (r RectangleIntf) Sub(p PointIntf) RectangleIntf
func (RectangleIntf) ToRectFloorCeil ¶
func (r RectangleIntf) ToRectFloorCeil() image.Rectangle
Click to show internal directories.
Click to hide internal directories.