Clip with Axis Aligned Rectangle Example

This topic contains the following sections.

  • Description
  • Requirements
  • View the Example Files

Description

This example uses an axis-aligned clip rectangle to clip a region. This sample produces output as shown in the following example.

Illustration of a goldfish and a clipped region of the goldfish

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
ClipWithAxisAlignedClipSample.vcproj
ClipWithAxisAlignedClipSample.cpp
ClipWithAxisAlignedClipSample.h
DeclareDPIAware.manifest
resource.rc

 

 

 

Send comments about this topic to Microsoft

Build date: 1/22/2012