|
|
1.1 root 1: /******************************Module*Header*******************************\
2: * Module Name: textout.h
3: *
4: * include file for textout.c
5: *
6: * Copyright (c) 1992 Microsoft Corporation
7: \**************************************************************************/
8:
9: // Various constants
10:
11: #define MAX_GLYPH_HEIGHT 256
12:
13: // Flags for flStr internally used by DrvTextOut()
14:
15: #define TO_TARGET_SCREEN 0x00000001L // Output to screen
16: #define TO_NO_OPAQUE_RECT 0x00000002L // No opaque rectangle
17: #define TO_HORIZ_ALIGN_TEXT 0x00000004L // The string lies on one scanline
18: #define TO_NON_JUSTIFIED_TEXT 0x00000008L // The string is non-justified
19: #define TO_FIXED_PITCH 0x00000010L // Fixed-pitch glyphs
20: #define TO_MULTIPLE_BYTE 0x00000020L // Fixed-pitch multiple byte glyphs
21: #define TO_BYTE_ALIGNED 0x00000040L // byte-aligned string
22:
23: // Flags for flOption--hints to vGlyphBlt() & vStrBlt()
24:
25: #define VGB_HORIZ_CLIPPED_GLYPH 0x00000001L // The glyph is horizontally clipped
26: #define VGB_VERT_CLIPPED_GLYPH 0x00000002L // The glyph is vertically clipped
27: #define VGB_OPAQUE_BKGRND 0x00000004L // The opaque background glyphs
28: #define VGB_ENTIRE_STRING_BLT 0x00000008L // The entire string is bltted
29: #define VGB_FIXED_PITCH 0x00000010L // Fixed-pitch glyph
30: #define VGB_MULTIPLE_BYTE 0x00000020L // glyph is multiple byte fixed-pitch
31: #define VGB_BYTE_ALIGNED 0x00000040L // byte-aligned string
32:
33: // Private Macros
34:
35: #define BINVALIDRECT(rcl) ((rcl.right <= rcl.left) || (rcl.bottom <= rcl.top))
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.