Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / Truncated 2D Commands

Author
Message
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 18th Dec 2011 06:25
Something isn’t right with the 2D commands. The start position seems ok but the end position is truncated. If I draw a line from 0, 0 to 9, 0 the last pixel drawn is at 8, 0. Now if I draw a line starting at 9, 0 and ending at 9, 9 it will start at 9, 0 like it should but end at 9, 8. Box 0, 0, 9, 9 should draw a box 10 pixels wide and 10 pixels high but truncates it at pixel 8, 8. The long version of the copy bitmaps ending dimensions follows the same rule. This all my be by design but if your aware, it could save you a lot of headaches.

Login to post a reply

Server time is: 2024-04-24 12:55:26
Your offset time is: 2024-04-24 12:55:26