Benign repos Download

WindowPositionHelper.cs

imports Windows.Graphicsimports Windows.Win32
SHA-256c672bd353ba113e17f0fb94cfa322cb3d32e0057dc45840d85edcd6a307a7e55
MaleculeMd(In₄)

Evidence

imports Windows.Graphics lines 1–16
1// Copyright (c) Microsoft Corporation
2// The Microsoft Corporation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5using Microsoft.UI;
6using Microsoft.UI.Windowing;
7using Windows.Graphics;
8using Windows.Win32;
9using Windows.Win32.Graphics.Gdi;
10using Windows.Win32.UI.HiDpi;
11
12namespace Microsoft.CmdPal.UI.Helpers;
⋯4 lines
English function-word token "and" lines 41–45
41:72… st display,
42 /// accounting for DPI changes and work area differences.
43 /// </summary>
44 ///
45 public static RectInt32 AdjustRectForV …
English function-word token "with" lines 66–71
66:27… )
67 {
68 savedRect = savedRect with { Width = DefaultWidth, Height = DefaultHeight };
69 }
70
71 // Remember the origina …
English function-word token "that" lines 134–139
134:25…
135 }
136
137 // Don't scale position, that's absolute coordinates in virtual screen space
138 var scale = (double)toDpi / fromDpi;
139 …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.