Changeset 1533 for trunk/src/gdi32/gdi32.cpp
- Timestamp:
- Oct 31, 1999, 10:38:20 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/gdi32.cpp
r1388 r1533 1 /* $Id: gdi32.cpp,v 1.1 1 1999-10-20 22:36:53 sandervlExp $ */1 /* $Id: gdi32.cpp,v 1.12 1999-10-31 21:38:17 achimha Exp $ */ 2 2 3 3 /* … … 187 187 int WIN32API GetObjectA( HGDIOBJ arg1, int arg2, void * arg3) 188 188 { 189 190 if(DIBSection::getSection() != NULL) 191 { 192 DIBSection *dsect = DIBSection::find(arg1); 193 if(dsect) 194 { 195 return dsect->GetDIBSection(arg2, (DIBSECTION*)arg3); 196 } 197 } 198 189 199 dprintf(("GDI32: GetObject %X %X %X\n", arg1, arg2, arg3)); 190 200 return O32_GetObject(arg1, arg2, arg3); … … 1338 1348 dprintf(("GDI32: OS2GetTextFaceW")); 1339 1349 rc = O32_GetTextFace(arg1, arg2, astring); 1340 AsciiToUnicode(astring, arg3); 1350 AsciiToUnicode(astring, arg3); 1341 1351 return rc; 1342 1352 } … … 1514 1524 //****************************************************************************** 1515 1525 BOOL WIN32API Pie(HDC hdc, int nLeftRect, int nTopRect, int nRightRect, 1516 int nBottomRect, int nXRadial1, int nYRadial1, int nXRadial2, 1526 int nBottomRect, int nXRadial1, int nYRadial1, int nXRadial2, 1517 1527 int nYRadial2) 1518 1528 { … … 1740 1750 //****************************************************************************** 1741 1751 //****************************************************************************** 1742 INT WIN32API SetDIBitsToDevice(HDC hdc, INT xDest, INT yDest, DWORD cx, 1752 INT WIN32API SetDIBitsToDevice(HDC hdc, INT xDest, INT yDest, DWORD cx, DWORD cy, INT xSrc, INT ySrc, UINT startscan, UINT lines, LPCVOID bits, const BITMAPINFO *info, UINT coloruse) 1743 1753 { 1744 1754 INT result, imgsize, palsize; … … 2016 2026 { 2017 2027 DIBSection *dsect = new DIBSection((WINBITMAPINFOHEADER *)&pbmi->bmiHeader, (DWORD)res, fFlip); 2018 *ppvBits = dsect->GetDIBObject(); 2028 dprintf(("Constructor returned\n",res)); 2029 if(ppvBits!=NULL) 2030 *ppvBits = dsect->GetDIBObject(); 2031 dprintf(("GDI32: return %08X\n",res)); 2019 2032 return(res); 2020 2033 } … … 3202 3215 3203 3216 3217
Note:
See TracChangeset
for help on using the changeset viewer.