Question on GDI vs GDI+
Posted on 2012-04-12
Graphics g = Graphics.FromImage(bm)
g.FillRectangle(solidWhiteBrush, 0, 0, bm.Width, bm.Height);
g.DrawString(AnnotationText, AnnotationFont, solidBlackBrush, new PointF(7f, 2f));
Here are my questions:
1)This is GDI+, correct?
(Running this on Windows 7)
2)What is the difference between GDI and GDI+? Is the version of GDI tied to a particular OS?
3)Can the above code be optimized to run faster?
The intent of the code is to annotate an image with some text (a date stamp).