| Issue 13: | Implement dynawa.bitmap.show_partial() | |
| 1 person starred this issue and may be notified of changes. | Back to list |
dynawa.bitmap.show_partial(bitmap, x, y, width, height, scr_x, scr_y, [flip]) Takes a rectangle of pixels from existing bitmap (defined by width, height and xy position of top_left corner in this bitmap) and displays it on watch screen with top-left pixel at scr_x, scr_y. If x, y, width and height are ALL nil, then the whole bitmap is used. Doesn't have to implement correct clipping but should throw an error when provided with impossible arguments - e.g. drawing outside of the physical screen as in "show_partial(bitmap, 0,0,20,20,150,120)" If 'flip' is true, the pixels are displayed as if the screen was rotated 180 degrees (not flipped, rotated!). Source bitmap is not modified.
Feb 8, 2010
Project Member
#1
nali...@gmail.com
Status:
Fixed
|