namespace EnvelopeGenerator.ReceiverUI.Models;
///
/// Represents a pre-assigned signature annotation position on a specific page.
///
/// Coordinate unit (X, Y): Hundredths of an inch (1/100 inch ? 2.83 PDF points),
/// origin at the top-left corner of the page, both axes increase downward/rightward.
/// This matches the DevExpress XtraReports coordinate system ().
///
/// Difference from PSPDFKit: Same origin (top-left) and direction, but PSPDFKit uses PDF points (1/72 inch).
/// Convert: xDX = xPsPdf * (100.0 / 72.0)
///
/// Difference from GDPicture: GDPicture uses PDF points with bottom-left origin (PDF standard); Y is flipped.
/// Convert: yDX = (pageHeightPt - yGD - elemHeightPt) * (100.0 / 72.0)
///
[Obsolete("Use SignatureDto with SignatureService.")]
public record AnnotationDto
{
/// Unique identifier of the annotation.
public long Id { get; init; }
/// 1-based page number within the document.
public int Page { get; init; }
/// Horizontal position in hundredths of an inch from the left edge of the page.
public double X { get; init; }
/// Vertical position in hundredths of an inch from the top edge of the page.
public double Y { get; init; }
}