[haiku-appserver] Re: Stroke/FillShape and pen pos

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Tue, 28 Mar 2006 01:17:35 +0200 CEST

Stephan Assmus <superstippi@xxxxxx> wrote:
> Note that you can SetOrigin(), but ok, I completely agree to that. 
> First I 
> thought we could also simply document Stroke/FillShape() to use the 
> current 
> pen pos, but then I thought it was silly. You don't do 
> MovePenTo(B_ORIGIN) 
> before any Stroke/FillRect() either... I will add those versions with 
> offset then.

Great.

> BTW, how about adding "gradient" versions for all drawing routines? :
> -P

I'd love that - then we could even use that for our window buttons, as 
that code is pretty slow :-)
It's just the question if we should make them public already, but why 
not.

Bye,
   Axel.


Other related posts: