. , , , , "Bitmap.h" "gdi +.h".
. - "gdiplus.h". :
#include "gdiplus.h"
Constructor Information
Stock Implementation gdiplus.dll
Header Declared in Gdiplusheaders.h, include gdiplus.h
Import library gdiplus.lib
Minimum availability GDI+ 1.0
Minimum operating systems Windows 98/Me, Windows XP, Windows 2000,
Windows NT 4.0 SP6
MSDN, "", , . " ", . , .
EDIT:
, GDI +, , Gdiplus, . "using namespace Gdiplus", .
#include <windows.h>
#include <gdiplus.h>
using namespace Gdiplus;
VOID OnPaint(HDC hdc)
{
Graphics graphics(hdc);
Pen pen(Color(255, 0, 0, 255));
graphics.DrawLine(&pen, 0, 0, 200, 100);
}