Link RD read and write

This commit is contained in:
Svetlana Kulikova
2026-03-18 10:42:20 +03:00
parent 866bf08da3
commit 8d4e216852
9 changed files with 57 additions and 1 deletions

View File

@ -2734,6 +2734,12 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
pLinkAnnot->SetH(pPr->GetH());
if (nFlags & (1 << 3))
pLinkAnnot->SetQuadPoints(pPr->GetQuadPoints());
if (nFlags & (1 << 4))
{
double dRD1, dRD2, dRD3, dRD4;
pPr->GetRD(dRD1, dRD2, dRD3, dRD4);
pLinkAnnot->SetRD(dRD1, dRD2, dRD3, dRD4);
}
if (bRender)
{