mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
chore: 修复文件编码和更新README
This commit is contained in:
parent
9660416b86
commit
110f28f8bf
7 changed files with 5 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Gma.System.MouseKeyHook;
|
||||
using Gma.System.MouseKeyHook;
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -48,14 +48,6 @@ Magpie可以将任意窗口放大至全屏,支持多种高级缩放算法,
|
|||
1. WinRT Capture:使用[Screen Capture API](https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/screen-capture)抓取窗口,最推荐的方法。此API从Windows 10, v1903开始提供。
|
||||
2. GDI:使用GDI抓取源窗口,速度稍慢。
|
||||
|
||||
#### 注入模式
|
||||
|
||||
如果源窗口使用了自定义光标,屏幕上可能出现两个光标。为了解决这个问题,Magpie提供了进程注入的功能:
|
||||
|
||||
1. 不使用注入:适用于源窗口没有自定义光标的场合
|
||||
2. 运行时注入:在执行缩放的同时注入源窗口线程,退出全屏后取消注入
|
||||
3. 启动时注入:适用于运行时注入不起作用的场合,不能注入正在运行的进程,需要手动选择要启动并注入的程序。
|
||||
|
||||
## 使用提示
|
||||
|
||||
1. 如果你设置了DPI缩放,而要放大的窗口不支持(表现为画面模糊),请首先进入该程序的兼容性设置,将“高DPI缩放替代”设置为“应用程序”。
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include "Utils.h"
|
||||
#include "Renderable.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include "Utils.h"
|
||||
#include "D2DContext.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include "Renderable.h"
|
||||
#include "D2DImageEffectRenderer.h"
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Loading…
Add table
Add a link
Reference in a new issue