Share via


Render Targets Example

This topic containes the following sections.

  • Description
  • Requirements
  • View the Example Files

Description

This example demonstrates the following tasks.

  • Drawing bitmaps
  • Drawing basic shapes
  • Drawing complex shapes

It produces the output shown in the following screen shot. Screen shot of the sample application, which includes tabs for bitmaps, ellipses, and rounded rectangles

Requirements

Minimum supported client Windows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported server Windows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDK Windows Software Development Kit (SDK) for Windows 7

 

View the Example Files

File
RenderTargetExamples.vcproj
DeclareDPIAware.manifest
DrawAndFillAnEllipseExample.h
DrawAndFillAnEllipseExample.cpp
DrawAndFillRoundedRectangleExample.h
DrawAndFillRoundedRectangleExample.cpp
DrawBitmapExample.h
DrawBitmapExample.cpp
winmain.cpp
RenderTargetExamples.h
RenderTargetExamples.rc
TabWindow.h
TabWindow.cpp

 

 

 

Send comments about this topic to Microsoft

Build date: 1/22/2012