Last active
August 29, 2015 14:01
-
-
Save meklarian/a8fe86dc9d97a38a91dd to your computer and use it in GitHub Desktop.
quick & dirty SetPoint() for System.Drawing.Graphics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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