home *** CD-ROM | disk | FTP | other *** search
-
-
-
- rrrreeeeccccttttwwwwrrrriiiitttteeee((((3333GGGG)))) rrrreeeeccccttttwwwwrrrriiiitttteeee((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- rrrreeeeccccttttwwwwrrrriiiitttteeee,,,, llllrrrreeeeccccttttwwwwrrrriiiitttteeee - draws a rectangular array of pixels into the
- frame buffer
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd rrrreeeeccccttttwwwwrrrriiiitttteeee((((SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd xxxx1111,,,, SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd yyyy1111,,,,
- SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd xxxx2222,,,, SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd yyyy2222,,,, CCCCoooolllloooorrrriiiinnnnddddeeeexxxx ppppaaaarrrrrrrraaaayyyy[[[[]]]]))))
-
- vvvvooooiiiidddd llllrrrreeeeccccttttwwwwrrrriiiitttteeee((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222,,,, ppppaaaarrrrrrrraaaayyyy))))
- SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;;
- uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg ppppaaaarrrrrrrraaaayyyy[[[[]]]];;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x_1 expects the lower-left x coordinate of the rectangular region.
-
- _y_1 expects the lower-left y coordinate of the rectangular region.
-
- _x_2 expects the upper-right x coordinate of the rectangular region.
-
- _y_2 expects the upper-right y coordinate of the rectangular region.
-
- _p_a_r_r_a_y expects the array which contains the values of the pixels to be
- drawn. For RGBA values, pack the bits thusly: 0000xxxx_A_A_B_B_G_G_R_R,
- where:
-
- _A_A contains the alpha value,
- _B_B contains the blue value,
- _G_G contains the green value, and
- _R_R contains the red value.
-
- RGBA component values range from 0 to 0xFF (255). The alpha
- value will be ignored if blending is not active and the machine
- has no alpha bitplanes.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- rrrreeeeccccttttwwwwrrrriiiitttteeee and llllrrrreeeeccccttttwwwwrrrriiiitttteeee draw pixels taken from the array _p_a_r_r_a_y into the
- specified rectangular frame buffer region. The system usually draws
- pixels left-to-right, then bottom-to-top. All coordinates are relative to
- the lower-left corner of the window, not the screen or viewport.
-
- Pixels are written to the currently active framebuffer, as specified by
- ddddrrrraaaawwwwmmmmooooddddeeee. Thus, to write pixel values to the overlay bitplanes, for
- example, simply set ddddrrrraaaawwwwmmmmooooddddeeee to OOOOVVVVEEEERRRRDDDDRRRRAAAAWWWW.
-
- The number of pixels in _p_a_r_r_a_y is always (x2-x1+1) * (y2-y1+1). If the
- zoom factors set by rrrreeeeccccttttzzzzoooooooommmm are both 1.0, the screen region _x_1 through
- _x_2, _y_1 through _y_2, are filled. Other zoom factors result in filling past
- _x_2 and/or past _y_2 (_x_1,_y_1 is always the lower-left corner of the filled
- region).
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- rrrreeeeccccttttwwwwrrrriiiitttteeee((((3333GGGG)))) rrrreeeeccccttttwwwwrrrriiiitttteeee((((3333GGGG))))
-
-
-
- rrrreeeeccccttttwwwwrrrriiiitttteeee draws an array of 16-bit words, and therefore should be used
- only to write color index values. llllrrrreeeeccccttttwwwwrrrriiiitttteeee draws an array of 32-bit
- words. Based on the current ppppiiiixxxxmmmmooooddddeeee, llllrrrreeeeccccttttwwwwrrrriiiitttteeee can draw pixels of 1, 2,
- 4, 8, 12, 16, 24, or 32 bits each. Use it to write packed RGB or RGBA
- values, color index values, or _z values.
-
- ppppiiiixxxxmmmmooooddddeeee affects the operation of llllrrrreeeeccccttttwwwwrrrriiiitttteeee substantialy, and has no
- effect on the operation of rrrreeeeccccttttwwwwrrrriiiitttteeee. By default, llllrrrreeeeccccttttwwwwrrrriiiitttteeee draws 32-
- bit pixels in the format used by ccccppppaaaacccckkkk. Different pixel sizes,
- framebuffer shifts, scan patterns through the framebuffer, and strides
- through memory, can all be specified using ppppiiiixxxxmmmmooooddddeeee.
-
- rrrreeeeccccttttwwwwrrrriiiitttteeee and llllrrrreeeeccccttttwwwwrrrriiiitttteeee leave the current character position
- unpredictable.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- blendfunction, dither, lrectread, pixmode, rectcopy, rectzoom
-
- NNNNOOOOTTTTEEEESSSS
- These routines are available only in immediate mode.
-
- On IRIS Indigo, Indy, and XL graphics the pixels written by rrrreeeeccccttttwwwwrrrriiiitttteeee and
- llllrrrreeeeccccttttwwwwrrrriiiitttteeee will be dithered if dithering is enabled. To write undithered
- pixels the ddddiiiitttthhhheeeerrrr command must be used to turn dithering off. On the
- Indigo, if dithering is on, pixel images written, then read and written
- again will cause successive dithering to be done each time the pixels are
- written. On Indy and XL graphics, successive dithering will not occur.
-
- On Indigo Entry graphics, when in color index mode with double-buffering
- enabled, 8-bit values are clamped to 4 bits, rather than being masked.
-
- BBBBUUUUGGGGSSSS
- IRIS-4D Personal Iris requires that both |x2-x1| and |y2-y1| be less than
- 2048.
-
- IRIS-4D VGX and VGXT require that both |x2-x1+1| and |y2-y1+1| be less
- than 2048.
-
- The size of the array passed to llllrrrreeeeccccttttwwwwrrrriiiitttteeee is limited to the size of the
- screen.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-