File:  [WindowsNT SDKs] / ntddk / src / video / displays / vga / textout.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/******************************Module*Header*******************************\
* Module Name: textout.h
*
* include file for textout.c
*
* Copyright (c) 1992 Microsoft Corporation
\**************************************************************************/

// Various constants

#define MAX_GLYPH_HEIGHT 256

// Flags for flStr internally used by DrvTextOut()

#define TO_TARGET_SCREEN    0x00000001L     // Output to screen
#define TO_NO_OPAQUE_RECT   0x00000002L     // No opaque rectangle
#define TO_HORIZ_ALIGN_TEXT 0x00000004L     // The string lies on one scanline
#define TO_NON_JUSTIFIED_TEXT 0x00000008L   // The string is non-justified
#define TO_FIXED_PITCH      0x00000010L     // Fixed-pitch glyphs
#define TO_MULTIPLE_BYTE    0x00000020L     // Fixed-pitch multiple byte glyphs
#define TO_BYTE_ALIGNED     0x00000040L     // byte-aligned string

// Flags for flOption--hints to vGlyphBlt() & vStrBlt()

#define VGB_HORIZ_CLIPPED_GLYPH 0x00000001L // The glyph is horizontally clipped
#define VGB_VERT_CLIPPED_GLYPH  0x00000002L // The glyph is vertically clipped
#define VGB_OPAQUE_BKGRND       0x00000004L // The opaque background glyphs
#define VGB_ENTIRE_STRING_BLT   0x00000008L // The entire string is bltted
#define VGB_FIXED_PITCH         0x00000010L // Fixed-pitch glyph
#define VGB_MULTIPLE_BYTE       0x00000020L // glyph is multiple byte fixed-pitch
#define VGB_BYTE_ALIGNED        0x00000040L // byte-aligned string

// Private Macros

#define BINVALIDRECT(rcl)   ((rcl.right <= rcl.left) || (rcl.bottom <= rcl.top))

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.