CodeCarvings.Piczard
GetAdjustedPoint(Point,Boolean,Size,Boolean,Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageTransformation Class > GetAdjustedPoint Method : GetAdjustedPoint(Point,Boolean,Size,Boolean,Boolean) 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.
applyResizeFactor
If true then consider ResizeFactor during the recalculation of the Point.
applyRotateFlip
If true then consider RotationAngleFlipH and FlipV during the recalculation of the Point.
Recalculates a Point (X/Y coordinates) by applying the specified 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, _
   ByVal applyResizeFactor As Boolean, _
   ByVal applyRotateFlip As Boolean _
) As Point
C#  
public Point GetAdjustedPoint( 
   Point point,
   bool backward,
   Size imageSize,
   bool applyResizeFactor,
   bool applyRotateFlip
)

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.
applyResizeFactor
If true then consider ResizeFactor during the recalculation of the Point.
applyRotateFlip
If true then consider RotationAngleFlipH and FlipV during the recalculation of the Point.

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.