rectcopy man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



rectcopy(3G)							  rectcopy(3G)

NAME
     rectcopy - copies a rectangle of pixels with an optional zoom

C SPECIFICATION
     void rectcopy(x1, y1, x2, y2, newx, newy)
     Screencoord x1,y1, x2, y2, newx, newy;

PARAMETERS
     x1	    expects the x coordinate of one corner of the rectangle.

     y1	    expects the y coordinate of one corner of the rectangle.

     x2	    expects the x coordinate of the opposite corner of the rectangle.

     y2	    expects the y coordinate of the opposite corner of the rectangle.

     newx   expects the x coordinate of the lower-left corner of the new
	    position of the rectangle.

     newy   expects the y coordinate of the lower-left corner of the new
	    position of the rectangle.

DESCRIPTION
     rectcopy copies a rectangular array of pixels (x1, y1, x2, y2) to another
     position on the screen.  The current viewport and screenmask mask the
     drawing of the copied region.  Self-intersecting copies work correctly in
     all cases.

     Use readsource to specify the front buffer, the back buffer, the z-
     buffer, or the optional Live Video Digitizer frame buffer as the source.
     When using the Live Video Digitizer as the readsource, the coordinate
     arguments should be specified relative to a video origin of (0,0).

     On machines that support it, you can use rectzoom to independently zoom
     the destination in both the x and y directions. Self-intersecting copies
     with zoom also work correctly. Likewise, on machines that support it,
     pixmode can be used to greatly affect the copy operation.	Pixel shifts,
     reflections, and numeric offsets are all possible.

     Use frontbuffer, backbuffer, and zdraw to specify the destination.	 All
     coordinates are relative to the lower-left corner of the window.

     The result of rectcopy is undefined if zbuffer is TRUE, except when pixel
     mode PM_ZDATA is enabled (see pixmode).  This special pixel mode, in
     conjunction with stencil operation, can be used to implement rectangle
     copies with depth buffering.

     rectcopy always operates within the currently active framebuffer, as
     specified by drawmode.

									Page 1

rectcopy(3G)							  rectcopy(3G)

     rectcopy leaves the current character position unpredictable

SEE ALSO
     pixmode, readsource, rectzoom, stencil

NOTES
     This subroutine is available only in immediate mode.

     The Live Video Digitizer option is available only on the IRIS-4D GTX.

BUGS
     Pixel format is not considered during the copy.  For example, if you copy
     pixels that contain color index data into an RGB window, the display
     subsystem cannot correctly interpret it.

     On IRIS-4D GTX models the zoom factor is not applied when reading from
     the Live Video Digitizer's frame buffer.

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net