You are here: Start » AVL.NET » Function Reference » Surface » Surface Basics » AVL.AlignRegionToSurfaceCoordinatesFormat
Returns region covering the same area for the surface with another coordinates format.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AlignRegionToSurfaceCoordinatesFormat ( AvlNet.Region inRegion, AvlNet.SurfaceCoordinatesFormat inInputSurfaceCoordinatesFormat, AvlNet.SurfaceCoordinatesFormat inOutputSurfaceCoordinatesFormat, int? inFrameWidth, int? inFrameHeight, AvlNet.Region outAlignedRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inInputSurfaceCoordinatesFormat | AvlNet.SurfaceCoordinatesFormat | Offsets and scales on X and Y axes of the surface associated with the image the input region were defined on. | |||
inOutputSurfaceCoordinatesFormat | AvlNet.SurfaceCoordinatesFormat | Offsets and scales on X and Y axes of the surface associated with the image the output region is defined on. | |||
inFrameWidth | int? | Output region's frame width. Default value: atl::NIL. | |||
inFrameHeight | int? | Output region's frame height. Default value: atl::NIL. | |||
outAlignedRegion | AvlNet.Region |