chore: 修复文件编码和更新README

This commit is contained in:
Xu Liu 2021-09-08 17:58:28 +08:00
commit 110f28f8bf
7 changed files with 5 additions and 13 deletions

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows;

View file

@ -1,4 +1,4 @@
using Gma.System.MouseKeyHook;
using Gma.System.MouseKeyHook;
using Microsoft.Win32;
using System;
using System.Collections.Generic;

View file

@ -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缩放替代”设置为“应用程序”。

View file

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "pch.h"
#include "Utils.h"
#include "Renderable.h"

View file

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "pch.h"
#include "Utils.h"
#include "D2DContext.h"

View file

@ -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