Acknowledged

instinct 2 2s bad dimension in sim

code

    dc.drawCircle(dc.getWidth()/2 , dc.getHeight()/2, dc.getWidth()/2);
    dc.drawCircle(dc.getWidth()/2 , dc.getHeight()/2, dc.getHeight()/2);

produces drawing like below

Parents
  • This is not a bug and is the same on the real instinct2s device.  With dc.getWidth() you get the actual width, which is correct at the top with the subscreen.  However, below the subscreen, the bezel covers 7 pixels on the right side of the screen.  I recall seeing this documented some place, but not sure where

    Here I draw a line 7 pixels in from the right and see how the subscreen is wider than the rest of the screen.

    The Instinct2 doesn't have the 7 pixels covered, just the 2s

Comment
  • This is not a bug and is the same on the real instinct2s device.  With dc.getWidth() you get the actual width, which is correct at the top with the subscreen.  However, below the subscreen, the bezel covers 7 pixels on the right side of the screen.  I recall seeing this documented some place, but not sure where

    Here I draw a line 7 pixels in from the right and see how the subscreen is wider than the rest of the screen.

    The Instinct2 doesn't have the 7 pixels covered, just the 2s

Children
No Data