[haiku-development] Re: Blitting

  • From: Caitlin Shaw <rogueeve@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 14 Sep 2009 14:14:10 -0700

> Doesn't BView::DrawBitmap(const BBitmap* image, BRect source,
> BRect destination) let you copy a specific part of your off-
> screen bitmap into your on-screen view?
>
> /Jonas.
>
>   

Yes, but it is still only a one-way transfer. i.e., you can copy from a 
BBitmap to a BView, but not a BView to a BBitmap, which means there 
seems to no efficient way to implement the scenario I described where 
you want to be able to temporarily back-up a random portion of the image 
onscreen without having to maintain two whole separate copies of the 
image (one onscreen, one offscreen).


Other related posts: