<< Click to Display Table of Contents >> Equate |
!Specifies the format of the color data for each pixel in the image.
PixelFormatEnum EQUATE(LONG)
PixelFormat::16bppRgb555 EQUATE(135173) !Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.
PixelFormat::16bppRgb565 EQUATE(135174) !Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.
PixelFormat::24bppRgb EQUATE(137224) !Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.
PixelFormat::32bppRgb EQUATE(139273) !Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.
PixelFormat::1bppIndexed EQUATE(196865) !Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.
PixelFormat::4bppIndexed EQUATE(197634) !Specifies that the format is 4 bits per pixel, indexed.
PixelFormat::8bppIndexed EQUATE(198659) !Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.
PixelFormat::16bppArgb1555 EQUATE(397319) !The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha.
PixelFormat::32bppPArgb EQUATE(925707) !Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied, according to the alpha component.
PixelFormat::16bppGrayScale EQUATE(1052676) !The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.
PixelFormat::48bppRgb EQUATE(1060876) !Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.
PixelFormat::64bppPArgb EQUATE(1851406) !Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.
PixelFormat::32bppArgb EQUATE(2498570) !Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
PixelFormat::64bppArgb EQUATE(3424269) !Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
RotateFlipTypeEnum EQUATE(LONG)
RotateNoneFlipNone EQUATE(0) !Specifies no clockwise rotation and no flipping.
Rotate180FlipXY EQUATE(0) !Specifies a 180-degree clockwise rotation followed by a horizontal and vertical flip.
Rotate90FlipNone EQUATE(1) !Specifies a 90-degree clockwise rotation without flipping.
Rotate270FlipXY EQUATE(1) !Specifies a 270-degree clockwise rotation followed by a horizontal and vertical flip.
Rotate180FlipNone EQUATE(2) !Specifies a 180-degree clockwise rotation without flipping.
RotateNoneFlipXY EQUATE(2) !Specifies no clockwise rotation followed by a horizontal and vertical flip.
Rotate270FlipNone EQUATE(3) !Specifies a 270-degree clockwise rotation without flipping.
Rotate90FlipXY EQUATE(3) !Specifies a 90-degree clockwise rotation followed by a horizontal and vertical flip.
RotateNoneFlipX EQUATE(4) !Specifies no clockwise rotation followed by a horizontal flip.
Rotate180FlipY EQUATE(4) !Specifies a 180-degree clockwise rotation followed by a vertical flip.
Rotate90FlipX EQUATE(5) !Specifies a 90-degree clockwise rotation followed by a horizontal flip.
Rotate270FlipY EQUATE(5) !Specifies a 270-degree clockwise rotation followed by a vertical flip.
Rotate180FlipX EQUATE(6) !Specifies a 180-degree clockwise rotation followed by a horizontal flip.
RotateNoneFlipY EQUATE(6) !Specifies no clockwise rotation followed by a vertical flip.
Rotate270FlipX EQUATE(7) !Specifies a 270-degree clockwise rotation followed by a horizontal flip.
Rotate90FlipY EQUATE(7) !Specifies a 90-degree clockwise rotation followed by a vertical flip.
A BYTE
R BYTE
G BYTE
B BYTE
Value LONG !Clarion color
Name STRING(64)
END
!Specifies the display and layout information for text strings.
StringFormatFlagsEnum EQUATE(LONG)
StringFormat::DirectionRightToLeft EQUATE(1) !Text is displayed from right to left.
StringFormat::DirectionVertical EQUATE(2) !Text is vertically aligned.
StringFormat::FitBlackBox EQUATE(4) !Parts of characters are allowed to overhang the string's layout rectangle. By default, characters are repositioned to avoid any overhang.
StringFormat::DisplayFormatControl EQUATE(32) !Control characters such as the left-to-right mark are shown in the output with a representative glyph.
StringFormat::NoFontFallback EQUATE(1024) !Fallback to alternate fonts for characters not supported in the requested font is disabled. Any missing characters are displayed with the fonts missing glyph, usually an open square.
StringFormat::MeasureTrailingSpaces EQUATE(2048) !Includes the trailing space at the end of each line. By default the boundary rectangle returned by the MeasureString method excludes the space at the end of each line. Set this flag to include that space in measurement.
StringFormat::NoWrap EQUATE(4096) !Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when a point is passed instead of a rectangle, or when the specified rectangle has a zero line length.
StringFormat::LineLimit EQUATE(8192) !Only entire lines are laid out in the formatting rectangle. By default layout continues until the end of the text, or until no more lines are visible as a result of clipping, whichever comes first. Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height. To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.
StringFormat::NoClip EQUATE(16384) !Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. By default all text and glyph parts reaching outside the formatting rectangle are clipped.