Hmm, looks like my latest mail in this thread got lost. :(

What I wrote in there was that after looking at the Matrox docs
I found out that the drawing registers indeed take signed
coordinates, so all we have to do is properly cast the coordinates
to the right size. I've already commited this change to the Matrox
sublib, so please test if it works now.

After some thinking I'd believe that most other cards does this too,
and therefore there's no longer any reason to hesitate about supporting
negative coordinates. I would hovever like to propose that we document
coordinates as having a valid range of -32768 - 32767. This is not
even a limitation, as int may very well be 16 bits accordning to C
standards.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to