Introducing Direct2D effects How to use D2D Effects in your app Image Effect … Image Image Properties.

Download Report

Transcript Introducing Direct2D effects How to use D2D Effects in your app Image Effect … Image Image Properties.

Introducing Direct2D
effects
How to use D2D Effects
in your app
Image
Effect
…
Image
Image
Properties
ID2D1Image
…
Effect
ID2D1Image
• Can have multiple properties
ID2D1Image
Properties
Hello, World!
Shadow
2DAffineTransform
Composite
Hello, World!
Arithmetic
Composite
Composite
2D Affine
Transform
Shadow
Composite
Point Specular
Using Direct2D
Effects API
ID2D1DeviceContext
ID2D1Bitmap1
ID2D1Effect
CLSID_D2D1Saturation
// Connect the input bitmap to the effect
// Set a property to adjust the effect’s behavior
D2D1_SATURATION_PROP_SATURATION
// Render the image
Custom effects
Recap
http://dev.windows.com
http://forums.dev.windows.com
http://forums.dev.windows.com
http://bldw.in/SessionFeedback