CodeCarvings.Piczard
GetAdjustedPoint(Point,Boolean,Size) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageTransformation Class > GetAdjustedPoint Method : GetAdjustedPoint(Point,Boolean,Size) Method

point
The Point to recalculate.
backward
If true then parameters are applied backwards (e.g. if RotationAngle is 90 clockwise, then original Point is rotated of 90 degrees counterclockwise).
imageSize
The Size of the source image expressed in pixels.
Recalculates a Point (X/Y coordinates) by applying all the parameters of the current ImageTransformation object.

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetAdjustedPoint( _
   ByVal point As Point, _
   ByVal backward As Boolean, _
   ByVal imageSize As Size _
) As Point
C#  
public Point GetAdjustedPoint( 
   Point point,
   bool backward,
   Size imageSize
)

Parameters

point
The Point to recalculate.
backward
If true then parameters are applied backwards (e.g. if RotationAngle is 90 clockwise, then original Point is rotated of 90 degrees counterclockwise).
imageSize
The Size of the source image expressed in pixels.

Return Value

The recalculated Point.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.