|
|
1.1 ! root 1: ;---------------------------Module-Header------------------------------; ! 2: ; Module Name: strblt.inc ! 3: ; ! 4: ; STRBLT.ASM and GLYPHBLT.ASM include file ! 5: ; ! 6: ; Copyright (c) 1992 Microsoft Corporation ! 7: ;-----------------------------------------------------------------------; ! 8: ! 9: MAX_GLYPH_HEIGHT equ 256 ; maximum height StrBlt will handle ! 10: ! 11: ; Flags for flStr internally used by DrvTextOut() ! 12: ! 13: TO_TARGET_SCREEN equ 00000001h ; Output to screen ! 14: TO_NO_OPAQUE_RECT equ 00000002h ; No opaque rectangle ! 15: TO_HORIZ_ALIGN_TEXT equ 00000004h ; The string lies on one scanline ! 16: TO_NON_JUSTIFIED_TEXT equ 00000008h ; The string is non-justified ! 17: TO_FIXED_PITCH equ 00000010h ; Fixed-pitch glyphs ! 18: TO_MULTIPLE_BYTE equ 00000020h ; multiple byte-size glyphs ! 19: TO_BYTE_ALIGNED equ 00000040h ; the string is byte aligned ! 20: ! 21: ; define flags for hints from DrvTextOut() ! 22: ! 23: VGB_HORIZ_CLIPPED_GLYPH equ 00000001h ; the glyph is horizontally clipped ! 24: VGB_VERT_CLIPPED_GLYPH equ 00000002h ; the glyph is vertically clipped ! 25: VGB_OPAQUE_BKGRND equ 00000004h ; The opaque background glyphs ! 26: VGB_ENTIRE_STRING_BLT equ 00000008h ; The entire string is bltted ! 27: VGB_FIXED_PITCH equ 00000010h ; Fixed-pitch glyphs ! 28: VGB_MULTIPLE_BYTE equ 00000020h ; multiple-byte fixed-pitch glyph ! 29: VGB_BYTE_ALIGNED equ 00000040h ; the string is byte-aligned ! 30: ! 31: .errnz TO_FIXED_PITCH-VGB_FIXED_PITCH ! 32: .errnz TO_MULTIPLE_BYTE-VGB_MULTIPLE_BYTE ! 33: .errnz TO_BYTE_ALIGNED-VGB_BYTE_ALIGNED ! 34: ! 35: ; define VGA mode at blt_to_screen time ! 36: ! 37: VGB_MIX_STRING equ 0 ! 38: VGB_OPAQUE_STRING equ 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.