Click or drag to resize

SpriteControllerReturnPictureBoxAdjustedPoint Method

This does the reverse of an adjusted point. It takes a point on the image and transforms it to one on the PictureBox

Namespace:  SpriteLibrary
Assembly:  SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax
C#
public Point ReturnPictureBoxAdjustedPoint(
	Point LocationOnImage
)

Parameters

LocationOnImage
Type: System.DrawingPoint
A point on the image, using the x and y pixels on the image

Return Value

Type: Point
A location that can be used on the picture-box, taking into consideration the image being stretched.
See Also