[haiku-appserver] Re: new drawing bug

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 09 Nov 2005 15:29:35 +0200

Stefano Ceccherini wrote:

one of the recent commits has obviously broken line drawing.
Have a look at the picture:

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


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 

Yup! :-) Looks like our problem. Good catch Stefano! ;-)

This might happen in other places as well.

Let's hope not. :-)

Bye, Adi.

Other related posts: