This project has moved. For the latest updates, please go here.

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

See Also

Other Resources

Last edited Jan 18, 2016 at 5:36 AM by Nonki, version 3