- Services/PdfRedactText.cs: strip text whose origin falls inside a CoverAnnotation from the page content stream at save time, hooked into PdfBurn.DrawAnnotationsIntoDoc. Fixes edited values staying recoverable by text extraction. - Themes/MMD.xaml replaces all thirteen themes; picker and accent strip removed; no dark mode. - Rename KillerPDF -> MMD PDF across code, resources, packaging and locale strings; new icon. - Remove the upstream author credit and the in-app install button.
18 lines
831 B
C#
18 lines
831 B
C#
namespace MmdPdf
|
|
{
|
|
/// <summary>
|
|
/// One link rectangle on a page, in render-dim coordinates.
|
|
///
|
|
/// Used by the tiled views (continuous, grid, two-page), where a per-link overlay would swallow
|
|
/// the click without its own handler ever firing - so clicks and the hover cursor are resolved
|
|
/// by bounds-testing these rects instead. That makes them the source of truth for links outside
|
|
/// single-page view.
|
|
///
|
|
/// TOP-LEVEL, not nested. Links.cs lives in the viewer control while ContextMenu.cs lives on the
|
|
/// window and also bounds-tests these rects to build the right-click menu, so neither class can
|
|
/// own the type.
|
|
/// </summary>
|
|
internal readonly record struct LinkInfo(
|
|
double Cx, double Cy, double Cw, double Ch, object Tag, string Tip, int AnnotIndex);
|
|
}
|