ClassesClasses | | Operators

zoom_regionzoom_regionZoomRegionZoomRegion (Operator)

Name

zoom_regionzoom_regionZoomRegionZoomRegion — Zoom a region.

Signature

zoom_region(Region : RegionZoom : ScaleWidth, ScaleHeight : )

Herror zoom_region(const Hobject Region, Hobject* RegionZoom, double ScaleWidth, double ScaleHeight)

Herror T_zoom_region(const Hobject Region, Hobject* RegionZoom, const Htuple ScaleWidth, const Htuple ScaleHeight)

void ZoomRegion(const HObject& Region, HObject* RegionZoom, const HTuple& ScaleWidth, const HTuple& ScaleHeight)

HRegion HRegion::ZoomRegion(double ScaleWidth, double ScaleHeight) const

static void HOperatorSet.ZoomRegion(HObject region, out HObject regionZoom, HTuple scaleWidth, HTuple scaleHeight)

HRegion HRegion.ZoomRegion(double scaleWidth, double scaleHeight)

Description

zoom_regionzoom_regionZoomRegionZoomRegionZoomRegion enlarges or reduces the regions given in RegionRegionRegionRegionregion in the x- and y-direction by the given scale factors ScaleWidthScaleWidthScaleWidthScaleWidthscaleWidth and ScaleHeightScaleHeightScaleHeightScaleHeightscaleHeight.

Execution Information

Parameters

RegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHobject

Region(s) to be zoomed.

RegionZoomRegionZoomRegionZoomRegionZoomregionZoom (output_object)  region(-array) objectHRegionHRegionHobject *

Zoomed region(s).

Number of elements: RegionZoom == Region

ScaleWidthScaleWidthScaleWidthScaleWidthscaleWidth (input_control)  extent.x HTupleHTupleHtuple (real) (double) (double) (double)

Scale factor in x-direction.

Default value: 2.0

Suggested values: 0.25, 0.5, 1.0, 2.0, 3.0

Typical range of values: 0.0 ≤ ScaleWidth ScaleWidth ScaleWidth ScaleWidth scaleWidth ≤ 100.0 (lin)

Minimum increment: 0.01

Recommended increment: 0.5

ScaleHeightScaleHeightScaleHeightScaleHeightscaleHeight (input_control)  extent.y HTupleHTupleHtuple (real) (double) (double) (double)

Scale factor in y-direction.

Default value: 2.0

Suggested values: 0.25, 0.5, 1.0, 2.0, 3.0

Typical range of values: 0.0 ≤ ScaleHeight ScaleHeight ScaleHeight ScaleHeight scaleHeight ≤ 100.0 (lin)

Minimum increment: 0.01

Recommended increment: 0.5

Possible Predecessors

thresholdthresholdThresholdThresholdThreshold, connectionconnectionConnectionConnectionConnection, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowing, pouringpouringPouringPouringPouring

Possible Successors

select_shapeselect_shapeSelectShapeSelectShapeSelectShape, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizeZoomImageSize, zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorZoomImageFactor

Module

Foundation


ClassesClasses | | Operators