[haiku-appserver] Re: new drawing bug

  • From: Stefano Ceccherini <burton666@xxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: 9 Nov 2005 12:34:25 -0000



>one of the recent commits has obviously broken line drawing.
>Have a look at the picture:
>http://www.pinc-software.de/images/new_app_server_bug.png

I _think_ I've found the problem (by looking at recent changes, haven't tried 
or anything):

http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/servers/app/ServerWindow.cpp?rev=14778&r1=14773&r2=14778&diff_format=l

Check the AS_STROKE_LINE case:
The "Convert***" methods we had before didn't modift the passed parameters, the 
new one do, so we are setting the new pen location in Screen coordinates 
instead of View coordinates.
This might happen in other places as well.


Stefano Ceccherini aka Jack Burton
--------------------------------------------------------------
Non resistere alla tentazione di conoscere nuovi amori!
Oltre 1.800.000 persone ti stanno aspettando su Incontri.
Vivi le emozioni fino in fondo!
http://www.supereva.com
---------------------------------------------------------------


Other related posts: