Ignore:
Timestamp:
Oct 11, 1999, 5:26:35 PM (26 years ago)
Author:
sandervl
Message:

CB's Pie bugfix

File:
1 edited

Legend:

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

    r780 r1246  
    1 /* $Id: gdi32.cpp,v 1.8 1999-09-01 19:12:15 phaller Exp $ */
     1/* $Id: gdi32.cpp,v 1.9 1999-10-11 15:26:35 sandervl Exp $ */
    22
    33/*
     
    16551655//******************************************************************************
    16561656//******************************************************************************
    1657 BOOL WIN32API Pie( HDC arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int  arg9)
     1657BOOL WIN32API Pie(HDC hdc, int nLeftRect, int nTopRect, int nRightRect,
     1658                  int nBottomRect, int nXRadial1, int nYRadial1, int nXRadial2,
     1659                  int nYRadial2)
    16581660{
    16591661    dprintf(("GDI32: OS2Pie"));
    1660     return O32_Pie(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
     1662    //CB: bug in O32_Pie
     1663    if (nXRadial1 == nXRadial2 && nYRadial1 == nYRadial2)
     1664      return O32_Ellipse(hdc,nLeftRect,nTopRect,nRightRect,nBottomRect);
     1665    else
     1666      return O32_Pie(hdc,nLeftRect,nTopRect,nRightRect,nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2);
    16611667}
    16621668//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.