/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/MouseUtils/MouseJump.Common/Imaging/IImageRegionCopyService.cs
25 строк
902 B
Michael Clayton
Ready for Review - [Mouse Jump] - port upstream WinUI3 code to Mouse Jump (microsoft#48290) (#48393)
07 авг 2026, 08:34
Не верифицирован
07 авг 2026, 08:34
e0010c5
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Drawing; using MouseJump.Models.Drawing; namespace MouseJump.Common.Imaging; public interface IImageRegionCopyService { /// <summary> /// Copies the source region from the provider's source image (e.g. the interactive desktop, /// a static image, etc) to the target region on the specified Graphics object. /// </summary> /// <remarks> /// Implementations of this interface are used to capture regions of the interactive desktop /// during runtime, or to capture regions of a static reference image during unit tests. /// </remarks> void CopyImageRegion( Graphics targetGraphics, RectangleInfo sourceBounds, RectangleInfo targetBounds); }