WPF Bitmap Effects

2,344 views
2,188 views

Published on

These are the slides that go with the presentation I did for CodeCamp on how to create WPF BitmapEffects with C++/CLI.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,344
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide






















  • WPF Bitmap Effects

    1. 1. WPF BitmapEects Lou Franco Director of Engineering Atalasoft
    2. 2. Button Name=quot;button1quot; Button /Button
    3. 3. Button Name=quot;button1quot; Button Button.BitmapEect DropShadowBitmapEect/ /Button.BitmapEect /Button
    4. 4. Button Name=quot;button1quot; Button Button.BitmapEect OuterGlowBitmapEect/ /Button.BitmapEect /Button
    5. 5. Button Name=quot;button1quot; Button Button.BitmapEect BitmapEectGroup OuterGlowBitmapEect/ DropShadowBitmapEect/ /BitmapEectGroup /Button.BitmapEect /Button
    6. 6. BitmapEect Managed Unmanaged Interface Implementation COM
    7. 7. WPF Apply MyBitmapEect Create Eect CreateUnmanagedEect MyBitmapEect Create COM Object Set a property Set a property Set a property UpdateUnmanaged PropertyState SetPropertyValue SetPropertyValue SetPropertyValue GetOutput
    8. 8. C++/CLI
    9. 9. BitmapEect^ eect = gcnew MyBitmapEect();
    10. 10. public ref class MyBitmapEect : public BitmapEect { public: MyBitmapEect(); ~MyBitmapEect(); }
    11. 11. COM
    12. 12. IUnknown QueryInterface AddRef Release
    13. 13. CoCreateInstance
    14. 14. Bitmaps
    15. 15. Width (in pixels) Height (in pixels) Row Stride (in bytes)
    16. 16. Channels
    17. 17. Code
    18. 18. Thanks, Email me at lou.franco@atalasoft.com or follow me on twitter (@loufranco) Code on http://atalasoft.com/blogs/loufranco

    ×