zoom_regionzoom_regionZoomRegionZoomRegionzoom_region (算子)

名称

zoom_regionzoom_regionZoomRegionZoomRegionzoom_region — 缩放区域。

签名

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

描述

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

执行信息

参数

RegionRegionRegionRegionregionregion (输入对象)  region(-array) objectHRegionHObjectHRegionHobject

Region(s) to be zoomed.

RegionZoomRegionZoomRegionZoomRegionZoomregionZoomregion_zoom (输出对象)  region(-array) objectHRegionHObjectHRegionHobject *

Zoomed region(s).

元素数量: RegionZoom == Region

ScaleWidthScaleWidthScaleWidthScaleWidthscaleWidthscale_width (输入控制)  extent.x HTuplefloatHTupleHtuple (real) (double) (double) (double)

Scale factor in x-direction.

默认值: 2.0

建议值: 0.25, 0.5, 1.0, 2.0, 3.0

值范围: 0.0 ≤ ScaleWidth ScaleWidth ScaleWidth ScaleWidth scaleWidth scale_width ≤ 100.0 (lin)

最小增量: 0.01

建议增量: 0.5

ScaleHeightScaleHeightScaleHeightScaleHeightscaleHeightscale_height (输入控制)  extent.y HTuplefloatHTupleHtuple (real) (double) (double) (double)

Scale factor in y-direction.

默认值: 2.0

建议值: 0.25, 0.5, 1.0, 2.0, 3.0

值范围: 0.0 ≤ ScaleHeight ScaleHeight ScaleHeight ScaleHeight scaleHeight scale_height ≤ 100.0 (lin)

最小增量: 0.01

建议增量: 0.5

可能的前趋

thresholdthresholdThresholdThresholdThresholdthreshold, connectionconnectionConnectionConnectionConnectionconnection, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, pouringpouringPouringPouringPouringpouring

可能的后继

select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

另见

zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizeZoomImageSizezoom_image_size, zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorZoomImageFactorzoom_image_factor

模块

基础