mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
feat: 实现 PrintWindow 捕获方式
速度很慢,暂不支持 UWP 窗口
This commit is contained in:
parent
215114309e
commit
738db504b2
9 changed files with 65 additions and 7 deletions
|
|
@ -26,6 +26,7 @@ bool GraphicsCaptureFrameSource::Initialize() {
|
|||
}
|
||||
|
||||
_d3dDC = App::GetInstance().GetRenderer().GetD3DDC();
|
||||
// DwmGetWindowAttribute 和 Graphics.Capture 无法应用于子窗口
|
||||
HWND hwndSrc = App::GetInstance().GetHwndSrc();
|
||||
|
||||
// 包含边框的窗口尺寸
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue