[haiku-commits] Re: haiku: hrev44422 - in src: libs/icon kits/tracker

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2012 20:34:26 -0400

On Tue, Jul 31, 2012 at 5:54 PM, John Scipione <jscipione@xxxxxxxxx> wrote:
>
> So how do I access the bilinear scaling in BBitmap?

You pass B_FILTER_BITMAP_BILINEAR to the options in DrawBitmap.

> And if this functionality exists, why is ShowImage not using it instead
> of implementing it again?

It was implemented in ShowImage, just some of the old filtering code
remains. In fact here is the commit which changed that in ShowImage:

http://cgit.haiku-os.org/haiku/commit/?id=hrev37080

-- 
Regards,
Ryan

Other related posts: