[haiku-development] Re: restart app_server

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 10 Jan 2012 08:59:22 +0100

2012/1/10 Stephan Aßmus <superstippi@xxxxxx>:

> I think archiving may also be the reason why the complete bitmap data is
> stored in the BPicture at all.


It's not only that.
BPictures are used for printing, too, and one could use the
BPicture::Play() method to implement its own BPicture
drawing/interpreting/whatever, so the BPicture needs to keep the
BBitmap data too. Moreover, the BBitmap data needs to be stored,
because if the bitmap is modified after it's drawn to a BPicture, the
BPicture needs to keep the old unmodified version.

Other related posts: