Small Basic Known Issue: 26992 - GraphicsWindow.GetPixel(X, Y) Doesn’t Work Properly If X Or Y Has after the Decimal Point in Remote
Series of known issues articles are showing known issue itself about Small Basic programming language and it's workaround. In this article, local means Small Basic IDE environment and remote means internet browser environment with Silverlight add-in.
Phenomenon
GraphicsWindow.GetPixel(x, y) doesn’t work properly if x or y has after the decimal point in remote. A sample program MQB393 doesn't work properly because of this issue.
Please note that GraphicsWindow.MouseX and GraphicsWindow.MouseY has after the decimal point in remote.
Workaround
Round x and y before calling GraphicsWindow.GetPixel(x, y).
Sample Program
- Small Paint MQB393-0 is update version including a workaround of this issue.