PSScaling Struct Reference
[Channel Ports Suite Callbacks (DEPRECATED Standard Suite)]

#include <PIGeneral.h>


Detailed Description

Provide a scaling through a rectangle in source space and a corresponding rectangle in destination space.

Equal rectangles result in a direct, unscaled, mapping. Unequal rectangles can be used to up- or down-sample.

For example, if sourceRect is a 100-pixel square in source space:

and destinationRect is a 50-pixel square in destination space: the scaling indicates to down-sample the image by half.


Data Fields

VRect sourceRect
 The source rectangle for scaling.
VRect destinationRect
 The destination rectangle for scaling.

Field Documentation

The source rectangle for scaling.

The destination rectangle for scaling.


The documentation for this struct was generated from the following file: