[haiku-bugs] [Haiku] #6070: DrawPicture ignores offset (where)

  • From: "laplace" <trac@xxxxxxxxxxxx>
  • Date: Mon, 24 May 2010 07:43:44 -0000

#6070: DrawPicture ignores offset (where)
--------------------------------+-------------------------------------------
 Reporter:  laplace             |       Owner:  axeld    
     Type:  bug                 |      Status:  new      
 Priority:  normal              |   Milestone:  R1       
Component:  Servers/app_server  |     Version:  R1/alpha2
 Keywords:                      |    Platform:  All      
Blockedby:                      |       Patch:  0        
 Blocking:                      |  
--------------------------------+-------------------------------------------
 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).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6070>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: