Ignore:
Timestamp:
Nov 5, 2000, 7:48:22 PM (25 years ago)
Author:
sandervl
Message:

rewrote transform +coordinate apis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/gdi32.cpp

    r4552 r4557  
    1 /* $Id: gdi32.cpp,v 1.58 2000-11-04 16:29:23 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.59 2000-11-05 18:48:21 sandervl Exp $ */
    22
    33/*
     
    193193    dprintf(("GDI32: GetDCOrgEx\n"));
    194194    return O32_GetDCOrgEx(arg1, arg2);
    195 }
    196 //******************************************************************************
    197 //******************************************************************************
    198 BOOL WIN32API GetWindowExtEx(HDC arg1, PSIZE arg2)
    199 {
    200     dprintf(("GDI32: GetWindowExtEx\n"));
    201     return O32_GetWindowExtEx(arg1, arg2);
    202195}
    203196//******************************************************************************
     
    599592    rc = O32_Escape(hdc, nEscape, cbInput, lpvInData, lpvOutData);
    600593    if(rc == 0) {
    601         dprintf(("GDI32: Escape %x %d %d %x %x returned %d (WARNING: might not be implemented!!) ", hdc, nEscape, cbInput, lpvInData, lpvOutData, rc));
    602     } 
     594        dprintf(("GDI32: Escape %x %d %d %x %x returned %d (WARNING: might not be implemented!!) ", hdc, nEscape, cbInput, lpvInData, lpvOutData, rc));
     595    }
    603596    else dprintf(("GDI32: Escape %x %d %d %x %x returned %d ", hdc, nEscape, cbInput, lpvInData, lpvOutData, rc));
    604597
     
    739732
    740733    return(rc);
    741 }
    742 //******************************************************************************
    743 //******************************************************************************
    744 int WIN32API GetGraphicsMode(HDC arg1)
    745 {
    746     dprintf(("GDI32: GetGraphicsMode"));
    747     return O32_GetGraphicsMode(arg1);
    748734}
    749735//******************************************************************************
     
    950936//******************************************************************************
    951937//******************************************************************************
    952 BOOL WIN32API GetViewportOrgEx( HDC hdc, PPOINT pPoint)
    953 {
    954  BOOL rc;
    955 
    956     rc = O32_GetViewportOrgEx(hdc, pPoint);
    957     if(pPoint) {
    958          dprintf(("GDI32: GetViewportOrgEx %x returned %d (%d,%d)", hdc, rc, pPoint->x, pPoint->y));
    959     }
    960     else dprintf(("GDI32: GetViewportOrgEx %x NULL returned %d (%d,%d)", hdc, rc));
    961     return rc;
    962 }
    963 //******************************************************************************
    964 //******************************************************************************
    965 BOOL WIN32API GetWindowOrgEx(HDC hdc, PPOINT pPoint)
    966 {
    967  BOOL rc;
    968 
    969     rc = O32_GetWindowOrgEx(hdc, pPoint);
    970     if(pPoint) {
    971          dprintf(("GDI32: GetWindowOrgEx %x returned %d (%d,%d)", hdc, rc, pPoint->x, pPoint->y));
    972     }
    973     else dprintf(("GDI32: GetWindowOrgEx %x NULL returned %d", hdc, rc));
    974     return rc;
    975 }
    976 //******************************************************************************
    977 //******************************************************************************
    978 BOOL WIN32API GetWorldTransform( HDC arg1, LPXFORM  arg2)
    979 {
    980     dprintf(("GDI32: GetWorldTransform"));
    981     return O32_GetWorldTransform(arg1, arg2);
    982 }
    983 //******************************************************************************
    984 //******************************************************************************
    985938ODINFUNCTION3(BOOL, LPtoDP, HDC, hdc, PPOINT, lpPoints, int, nCount)
    986939{
    987940    return O32_LPtoDP(hdc, lpPoints, nCount);
    988 }
    989 //******************************************************************************
    990 //******************************************************************************
    991 BOOL WIN32API ModifyWorldTransform( HDC arg1, const XFORM *arg2, DWORD  arg3)
    992 {
    993     dprintf(("GDI32: ModifyWorldTransform"));
    994     return O32_ModifyWorldTransform(arg1, (LPXFORM)arg2, arg3);
    995 }
    996 //******************************************************************************
    997 //******************************************************************************
    998 BOOL WIN32API OffsetViewportOrgEx( HDC arg1, int arg2, int arg3, PPOINT  arg4)
    999 {
    1000     dprintf(("GDI32: OffsetViewportOrgEx"));
    1001     return O32_OffsetViewportOrgEx(arg1, arg2, arg3, arg4);
    1002 }
    1003 //******************************************************************************
    1004 //******************************************************************************
    1005 BOOL WIN32API OffsetWindowOrgEx( HDC arg1, int arg2, int arg3, PPOINT  arg4)
    1006 {
    1007     dprintf(("GDI32: OffsetWindowOrgEx"));
    1008     return O32_OffsetWindowOrgEx(arg1, arg2, arg3, arg4);
    1009941}
    1010942//******************************************************************************
     
    11161048//******************************************************************************
    11171049//******************************************************************************
    1118 BOOL WIN32API ScaleViewportExtEx( HDC arg1, int arg2, int arg3, int arg4, int arg5, PSIZE  arg6)
    1119 {
    1120     dprintf(("GDI32: ScaleViewportExtEx"));
    1121     return O32_ScaleViewportExtEx(arg1, arg2, arg3, arg4, arg5, arg6);
    1122 }
    1123 //******************************************************************************
    1124 //******************************************************************************
    1125 BOOL WIN32API ScaleWindowExtEx( HDC arg1, int arg2, int arg3, int arg4, int arg5, PSIZE  arg6)
    1126 {
    1127     dprintf(("GDI32: ScaleWindowExtEx"));
    1128     return O32_ScaleWindowExtEx(arg1, arg2, arg3, arg4, arg5, arg6);
    1129 }
    1130 //******************************************************************************
    1131 //******************************************************************************
    11321050int WIN32API SetArcDirection( HDC arg1, int  arg2)
    11331051{
     
    11541072//******************************************************************************
    11551073//******************************************************************************
    1156 int WIN32API SetGraphicsMode(HDC arg1, int  arg2)
    1157 {
    1158     dprintf(("GDI32: SetGraphicsMode"));
    1159     return O32_SetGraphicsMode(arg1, arg2);
    1160 }
    1161 //******************************************************************************
    1162 //******************************************************************************
    11631074ODINFUNCTION2(DWORD, SetMapperFlags, HDC, hdc, DWORD, dwFlag)
    11641075{
     
    11941105{
    11951106    return O32_SetTextJustification(hdc, nBreakExtra, nBreakCount);
    1196 }
    1197 //******************************************************************************
    1198 //******************************************************************************
    1199 BOOL WIN32API SetViewportOrgEx( HDC hdc, int x, int y, PPOINT lpPoint)
    1200 {
    1201     if(lpPoint) {
    1202          dprintf(("GDI32: SetViewportOrgEx %x %d %d (%d,%d)", hdc, x, y, lpPoint->x, lpPoint->y));
    1203     }
    1204     else dprintf(("GDI32: SetViewportOrgEx %x %d %d NULL", hdc, x, y));
    1205     return O32_SetViewportOrgEx(hdc, x, y, lpPoint);
    1206 }
    1207 //******************************************************************************
    1208 //******************************************************************************
    1209 BOOL WIN32API SetWindowExtEx( HDC arg1, int arg2, int arg3, PSIZE  arg4)
    1210 {
    1211     dprintf(("GDI32: SetWindowExtEx"));
    1212     return O32_SetWindowExtEx(arg1, arg2, arg3, arg4);
    1213 }
    1214 //******************************************************************************
    1215 //******************************************************************************
    1216 BOOL WIN32API SetWindowOrgEx( HDC arg1, int arg2, int arg3, PPOINT  arg4)
    1217 {
    1218     dprintf(("GDI32: SetWindowOrgEx"));
    1219     return O32_SetWindowOrgEx(arg1, arg2, arg3, arg4);
    1220 }
    1221 //******************************************************************************
    1222 //******************************************************************************
    1223 BOOL WIN32API SetWorldTransform( HDC arg1, const XFORM *arg2)
    1224 {
    1225     dprintf(("GDI32: SetWorldTransform"));
    1226     return O32_SetWorldTransform(arg1, (LPXFORM)arg2);
    12271107}
    12281108//******************************************************************************
     
    16221502
    16231503BOOL WIN32API CombineTransform(LPXFORM lLPXFORMResult,
    1624                                   CONST   XFORM *lLPXFORM1,
    1625                                   CONST   XFORM *lLPXFORM2)
     1504                               CONST   XFORM *lLPXFORM1,
     1505                               CONST   XFORM *lLPXFORM2)
    16261506{
    16271507  dprintf(("GDI32: CombineTransform(%08xh,%08xh,%08xh).\n",
Note: See TracChangeset for help on using the changeset viewer.