Graphics::Graphics method

This topic lists the constructors of the Graphics class. For a complete class listing, see Graphics Class.

Overload list

Constructor Description
Graphics(HDC) Creates a Graphics::Graphics object that is associated with a specified device context.
Graphics(Image*) Creates a Graphics::Graphics object that is associated with an Image object.
Graphics(HWND,BOOL) Creates a Graphics::Graphics object that is associated with a specified window.
Graphics(HDC,HANDLE) Creates a Graphics::Graphics object that is associated with a specified device context and a specified device.

Syntax

void Graphics(

);

Parameters

This method has no parameters.

Return Value

None

Requirements

   
Target Platform Windows
Header gdiplusgraphics.h