Ignore:
Timestamp:
Apr 30, 2004, 3:27:19 PM (21 years ago)
Author:
sandervl
Message:

drawSingleLinePoint: wrong pen style checks; logging updates

File:
1 edited

Legend:

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

    r10442 r10594  
    1 /* $Id: gdi32.cpp,v 1.93 2004-02-10 15:35:38 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.94 2004-04-30 13:27:18 sandervl Exp $ */
    22
    33/*
     
    176176 HPEN hPen;
    177177
     178    if(lplb) {
     179        dprintf(("lbStyle %x", lplb->lbStyle));
     180        dprintf(("lbColor %x", lplb->lbColor));
     181        dprintf(("lbHatch %x", lplb->lbHatch));
     182    }
    178183    hPen = O32_ExtCreatePen(dwPenStyle, dwWidth, lplb, dwStyleCount, lpStyle);
    179184    if(hPen) STATS_ExtCreatePen(hPen, dwPenStyle, dwWidth, lplb, dwStyleCount, lpStyle);
     
    722727//******************************************************************************
    723728//******************************************************************************
    724 BOOL WIN32API PolyPolygon( HDC hdc, const POINT * arg2, const INT * arg3, UINT  arg4)
    725 {
    726     return O32_PolyPolygon(hdc, arg2, arg3, arg4);
     729BOOL WIN32API PolyPolygon( HDC hdc, const POINT *lpPoints, const INT *lpPolyCounts, UINT  nCount)
     730{
     731#ifdef DEBUG
     732    int count = 0;
     733    for(int i=0;i<nCount;i++)
     734    {
     735        for(int j=0;j<lpPolyCounts[i];j++)
     736        {
     737            dprintf(("Vertex %d point (%d,%d)", i, lpPoints[count].x, lpPoints[count].y));
     738            count++;
     739        }
     740    }
     741#endif
     742    return O32_PolyPolygon(hdc, lpPoints, lpPolyCounts, nCount);
    727743}
    728744//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.