Microsoft SDK for Java

D3dRMImage Class Fields

The D3dRMImage Class contains the following fields.

alpha_mask If rgb is true, these fields are masks for the red, green, and blue parts of a pixel. Otherwise, they are masks for the significant bits of the red, green, and blue elements in the palette. For example, most SVGA displays use 64 intensities of red, green, and blue, so the masks should all be set to 0xfc.
aspectX X aspect ratio for nonsquare pixels.
aspectY Y aspect ratio for nonsquare pixels.
blue_mask Bitmask dependant on rgb.
bytes_per_line Number of bytes of memory for a scanline. This value must be a multiple of four.
depth Bits per pixel.
green_mask Bitmask dependant on rgb.
height Height of the image, in pixels.
palette_size Number of entries in the palette.
red_mask Bitmask dependant on rgb.
rgb If this field false, pixels are indices into a palette. Otherwise, pixels encode RGB values.
width Width of the image, in pixels.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.