Ignore:
Timestamp:
Sep 28, 1999, 10:00:58 AM (26 years ago)
Author:
dengert
Message:

Caret functions added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/dc.cpp

    r1073 r1077  
    1 /* $Id: dc.cpp,v 1.8 1999-09-27 18:21:25 dengert Exp $ */
     1/* $Id: dc.cpp,v 1.9 1999-09-28 08:00:56 dengert Exp $ */
    22
    33/*
     
    453453      return MEM_HPS_MAX;
    454454   }
     455}
     456
     457BOOL isYup (pDCData pHps)
     458{
     459   if (((pHps->windowExt.cy < 0) && (pHps->viewportYExt > 0.0)) ||
     460       ((pHps->windowExt.cy > 0) && (pHps->viewportYExt < 0.0)))
     461   {
     462      if ((pHps->graphicsMode == GM_COMPATIBLE_W) ||
     463          ((pHps->graphicsMode == GM_ADVANCED_W) && (pHps->xform.eM22 >= 0.0)))
     464         return TRUE;
     465   }
     466   else
     467   {
     468      if ((pHps->graphicsMode == GM_ADVANCED_W) && (pHps->xform.eM22 < 0.0))
     469         return TRUE;
     470   }
     471   return FALSE;
    455472}
    456473
Note: See TracChangeset for help on using the changeset viewer.