You are here: Start » AVL.NET » Invoke.AlignRegionToSurfaceCoordinatesFormat

Invoke.AlignRegionToSurfaceCoordinatesFormat

Returns region covering the same area for the surface with another coordinates format.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void AlignRegionToSurfaceCoordinatesFormat
(
	Avl.Region inRegion,
	Avl.SurfaceCoordinatesFormat inInputSurfaceCoordinatesFormat,
	Avl.SurfaceCoordinatesFormat inOutputSurfaceCoordinatesFormat,
	Optional<int> inFrameWidth,
	Optional<int> inFrameHeight,
	Avl.Region outAlignedRegion
)

Parameters

Name Type Range Default Description
inRegionAvl.RegionInput region.
inInputSurfaceCoordinatesFormatAvl.SurfaceCoordinatesFormatOffsets and scales on X and Y axes of the surface associated with the image the input region were defined on.
inOutputSurfaceCoordinatesFormatAvl.SurfaceCoordinatesFormatOffsets and scales on X and Y axes of the surface associated with the image the output region is defined on.
inFrameWidthAtl.Optional<int>Output region's frame width. Default value: atl::NIL.
inFrameHeightAtl.Optional<int>Output region's frame height. Default value: atl::NIL.
outAlignedRegionAvl.Region

See also