Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZoomableImage ¶
type ZoomableImage struct { Image *canvas.Image Scale float32 OffsetX float32 OffsetY float32 // contains filtered or unexported fields }
func NewZoomableImage ¶
func NewZoomableImage(image *canvas.Image) *ZoomableImage
func (*ZoomableImage) Move ¶
func (z *ZoomableImage) Move(dx, dy float32)
func (*ZoomableImage) Refresh ¶
func (z *ZoomableImage) Refresh()
func (*ZoomableImage) Reset ¶
func (z *ZoomableImage) Reset()
func (*ZoomableImage) Zoom ¶
func (z *ZoomableImage) Zoom(dz float32)
Click to show internal directories.
Click to hide internal directories.