Skip to content

daneuber/WinCompWPF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinCompWPF

Hacking on a sample using Windows Composition APIs in WPF

Status as of 12/14

status gif

Summary

Rough summary of what you'll find in the repo -

  • WPF app hosting class that implements HwndHost
  • Uses pinvoke and COM interop to access additional platform APIs
  • Custom Graph class and associated helpers
  • Graph uses Composition APIs and animations to enhance look & feel
  • Text rendered using SharpDX

TODO / Wish list

  • Update how data can be passed to the graph (include bar labels with data)
  • Automate graph resizing based on parent container size
  • Make graph orientation options (horizontal vs vertical)
  • Add more graph bar style options - shared linear gradient, blurred semi-transparent color, etc
  • Legend
  • Trend line on top of bars
  • Option for data sets (groups of bars)
  • Bar hover-over text
  • Ability to add data later on (abstract from constructor)
  • Text change property events to auto trigger text redraw
  • Options for min bar width

About

Hacking on a sample using Windows Composition APIs in WPF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 83.9%
  • C++ 15.8%
  • Assembly 0.3%