项目作者: riley-x

项目描述 :
Minimal example of using DirectComposition to draw transparent windows with Direct2D.
高级语言: C++
项目地址: git://github.com/riley-x/TransparentWindow.git
创建时间: 2020-10-08T20:46:50Z
项目社区:https://github.com/riley-x/TransparentWindow

开源协议:

下载


This is a Visual Studio solution wrapping the method described by Kenny Kerr in
https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/june/windows-with-c-high-performance-window-layering-using-the-windows-composition-engine.

This application is a minimal example of using DirectComposition to draw per-pixel alpha-blended windows with Direct2D. It draws a semi-transparent circle that changes opacity on any key press.

sample