![]() Now XOR the hollow rectangle on the Graphics object with ![]() context so that the rectangle isn't filled. Create a stock NULL_BRUSH brush and select it into the device IntPtr oldPen = SelectObject( hdc, gdiPen ) Select the pen into the device context. Create a pen with a dotted style to draw the border of the Extract the Win32 HDC from the Graphics object supplied. Public void DrawXORRectangle( Graphics grp, Default contructor - sets member fields ![]() replaced by enums from those sets of defones. is expanded for more generic rectangle drawing, they should be but are all that are needed for this application. These values come from the larger set of defines in WinGDI.h,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |