Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CursorPosition ¶
Returns the current cursor position as a Point.
func NewDrawOptions ¶
func NewDrawOptions(dest, src image.Rectangle) *colorm.DrawImageOptions
Creates a new DrawImageOptions that scales the source image to fit the destination rectangle.
func ScaleRatio ¶
Returns the ratio of the width and height of two rectangles.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.