DrawPicture ignores offset (where)
|Reported by:||laplace||Owned by:||axeld|
|Has a Patch:||yes||Platform:||All|
BView::DrawPicture(BPicture* picture, BPoint where) allways draws the picture at offset (0, 0).
To reproduce run FlattenPictureTest application from src/tests/kits/interface/flatten_picture. Choose from menu Tests > Run. The test case with name "Test Record and Play Picture with Offset" fails. In this test case a picture containing a black fillled rectangle is recorded into a BPicture and then drawn two times at first at point (10, 10) and then at (0, 0). The rectangle at (10, 10) is drawn at (0, 0) too (or not at all, the test case does not reveal that, but it is unlikely).