zoom_regionzoom_regionZoomRegionZoomRegionzoom_region (Operator)

Name

zoom_regionzoom_regionZoomRegionZoomRegionzoom_region — 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)

def zoom_region(region: HObject, scale_width: float, scale_height: float) -> HObject

Description

zoom_regionzoom_regionZoomRegionZoomRegionZoomRegionzoom_region enlarges or reduces the regions given in RegionRegionRegionRegionregionregion in the x- and y-direction by the given scale factors ScaleWidthScaleWidthScaleWidthScaleWidthscaleWidthscale_width and ScaleHeightScaleHeightScaleHeightScaleHeightscaleHeightscale_height.

Execution Information

Parameters

RegionRegionRegionRegionregionregion (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Region(s) to be zoomed.

RegionZoomRegionZoomRegionZoomRegionZoomregionZoomregion_zoom (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Zoomed region(s).

Number of elements: RegionZoom == Region

ScaleWidthScaleWidthScaleWidthScaleWidthscaleWidthscale_width (input_control)  extent.x HTuplefloatHTupleHtuple (real) (double) (double) (double)

Scale factor in x-direction.

Default: 2.0

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

Value range: 0.0 ≤ ScaleWidth ScaleWidth ScaleWidth ScaleWidth scaleWidth scale_width ≤ 100.0 (lin)

Minimum increment: 0.01

Recommended increment: 0.5

ScaleHeightScaleHeightScaleHeightScaleHeightscaleHeightscale_height (input_control)  extent.y HTuplefloatHTupleHtuple (real) (double) (double) (double)

Scale factor in y-direction.

Default: 2.0

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

Value range: 0.0 ≤ ScaleHeight ScaleHeight ScaleHeight ScaleHeight scaleHeight scale_height ≤ 100.0 (lin)

Minimum increment: 0.01

Recommended increment: 0.5

Possible Predecessors

thresholdthresholdThresholdThresholdThresholdthreshold, connectionconnectionConnectionConnectionConnectionconnection, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, pouringpouringPouringPouringPouringpouring

Possible Successors

select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

See also

zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizeZoomImageSizezoom_image_size, zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorZoomImageFactorzoom_image_factor

Module

Foundation