[haiku-development] Re: bitmap scaling options

  • From: <philippe.houdoin@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 29 Jul 2008 14:06:00 +0200

Ingo said:

> Since it is a rendering option, IMHO it should be (in decreasing order of
> preference) a parameter to BView::DrawBitmap(), a graphics state option,
> or
> a BView flag. Sticking such an option to the BBitmap is just as badly
> fitting as setting the color on a BFont.

+1

My preference will go for a graphics state option 
(BView::[Set]BitmapScalingMode()), the default mode being set to one who fit 
the most case. If bilinear doesn't hit that much, I'm for making the default 
mode.

Bye,
  Philippe.



Other related posts: