Ignore:
Timestamp:
Sep 9, 2001, 2:24:13 PM (24 years ago)
Author:
sandervl
Message:

minor updates

File:
1 edited

Legend:

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

    r5044 r6684  
    1 /* $Id: line.cpp,v 1.9 2001-02-01 18:01:52 sandervl Exp $ */
     1/* $Id: line.cpp,v 1.10 2001-09-09 12:24:13 sandervl Exp $ */
    22/*
    33 * Line API's
     
    8181    POINTLOS2 newPoint = {X,Y};
    8282
     83    if (lpPoint)
     84    {
     85      POINTLOS2 lastPoint;
     86
     87      OSLibGpiQueryCurrentPosition(pHps,&lastPoint);
     88      lpPoint->x = lastPoint.x;
     89      lpPoint->y = lastPoint.y;
     90    }
     91
    8392#ifndef INVERT
    8493    if(pHps->yInvert > 0) {
     
    8998    }
    9099#endif
    91 
    92     if (lpPoint)
    93     {
    94       POINTLOS2 lastPoint;
    95 
    96       OSLibGpiQueryCurrentPosition(pHps,&lastPoint);
    97       lpPoint->x = lastPoint.x;
    98       lpPoint->y = lastPoint.y;
    99     }
    100100
    101101    if (OSLibGpiMove(pHps,&newPoint))
Note: See TracChangeset for help on using the changeset viewer.