- Timestamp:
- Mar 28, 2000, 5:25:47 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/gdi32.cpp
r2879 r3255 1 /* $Id: gdi32.cpp,v 1.4 5 2000-02-24 19:17:15 sandervlExp $ */1 /* $Id: gdi32.cpp,v 1.46 2000-03-28 15:25:47 cbratschi Exp $ */ 2 2 3 3 /* … … 22 22 #include "oslibgdi.h" 23 23 24 #define DBG_LOCALLOG 24 #define DBG_LOCALLOG DBG_gdi32 25 25 #include "dbglocal.h" 26 26 … … 499 499 //SvL: Open32 tests lpszDriver for NULL even though it's ignored 500 500 if(lpszDriver == NULL) { 501 501 lpszDriver = lpszDevice; 502 502 } 503 503 return O32_CreateIC(lpszDriver, lpszDevice, lpszOutput, lpdvmInit); … … 626 626 //****************************************************************************** 627 627 //****************************************************************************** 628 VOID dumpROP2(INT rop2) 629 { 630 CHAR *name; 631 632 switch (rop2) 633 { 634 case R2_BLACK: 635 name = "R2_BLACK"; 636 break; 637 638 case R2_COPYPEN: 639 name = "R2_COPYPEN"; 640 break; 641 642 case R2_MASKNOTPEN: 643 name = "R2_MASKNOTPEN"; 644 break; 645 646 case R2_MASKPEN: 647 name = "R2_MASKPEN"; 648 break; 649 650 case R2_MASKPENNOT: 651 name = "R2_MASKPENNOT"; 652 break; 653 654 case R2_MERGENOTPEN: 655 name = "R2_MERGENOTPEN"; 656 break; 657 658 case R2_MERGEPEN: 659 name = "R2_MERGEPEN"; 660 break; 661 662 case R2_MERGEPENNOT: 663 name = "R2_MERGEPENNOT"; 664 break; 665 666 case R2_NOP: 667 name = "R2_NOP"; 668 break; 669 670 case R2_NOT: 671 name = "R2_NOT"; 672 break; 673 674 case R2_NOTCOPYPEN: 675 name = "R2_NOTCOPYPEN"; 676 break; 677 678 case R2_NOTMASKPEN: 679 name = "R2_NOTMASKPEN"; 680 break; 681 682 case R2_NOTMERGEPEN: 683 name = "R2_NOTMERGEPEN"; 684 break; 685 686 case R2_WHITE: 687 name = "R2_WHITE"; 688 break; 689 690 case R2_XORPEN: 691 name = "R2_XORPEN"; 692 break; 693 694 default: 695 name = "unknown mode!!!"; 696 break; 697 } 698 699 dprintf((" ROP2 mode = %s",name)); 700 } 701 //****************************************************************************** 702 //****************************************************************************** 628 703 int WIN32API SetROP2( HDC hdc, int rop2) 629 704 { 630 705 dprintf(("GDI32: SetROP2 %x %x", hdc, rop2)); 706 #ifdef DEBUG 707 dumpROP2(rop2); 708 #endif 631 709 return O32_SetROP2(hdc, rop2); 632 710 } … … 1442 1520 #ifdef DEBUG 1443 1521 if(cbInput && lpszInData) { 1444 1445 1446 1447 1522 ULONG *tmp = (ULONG *)lpszInData; 1523 for(int i=0;i<cbInput/4;i++) { 1524 dprintf(("GDI32: ExtEscape par %d: %x", i, *tmp++)); 1525 } 1448 1526 } 1449 1527 #endif
Note:
See TracChangeset
for help on using the changeset viewer.