Share via


Layers with Parameters Example

This topic contains the following sections:

  • Description
  • Requirements
  • Downloading the Sample
  • View the Example Files

Description

This example shows how to create layers by using content bounds, opacity masks, and geometric masks. It produces the output shown in the following illustrations.

Illustrations of three bitmaps and the resulting images after content bounds, opacity masks, or geometric masks are applied to them

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

 

Downloading the Sample

This sample is available in the following locations.

Location Path/URL
Code Gallery Download from MSDN Code Gallery

 

View the Example Files

File
LayersWithParameters.vcproj
LayersWithParameters.h
LayersWithParameters.cpp
DeclareDPIAware.manifest
resource.rc

 

 

 

Send comments about this topic to Microsoft

Build date: 1/22/2012