Files
mmd-pdf/Models/LinkTypes.cs
T
kua-agent 6610acfa44 feat: rebrand to MMD PDF, single corporate theme, and remove original text under an edit
- 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.
2026-08-27 07:37:09 +02:00

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);
}