Skip to content

Instantly share code, notes, and snippets.

@meklarian
Last active August 29, 2015 14:01
Show Gist options
  • Save meklarian/a8fe86dc9d97a38a91dd to your computer and use it in GitHub Desktop.
Save meklarian/a8fe86dc9d97a38a91dd to your computer and use it in GitHub Desktop.
quick & dirty SetPoint() for System.Drawing.Graphics
public static class GraphicsSetPointHelper
{
public static void SetPoint(this Graphics g, Brush b, float x, float y)
{
g.FillRectangle(b, x, y, 1, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment