AvoidSmall - nonkit/SmallWikiPad GitHub Wiki
AvoidSmall
Use following workaround to avoid drawing rectangle/ellipse smaller issue on browser with Silverlight environment.
GraphicsWindow.PenWidth = pw
If silverlight Then ' on browser environment
GraphicsWindow.DrawRectangle(x - pw / 2, y - pw / 2, width + pw, height + pw)
Else ' on desktop environment
GraphicsWindow.DrawRectangle(x, y, width, height)
EndIf