I have a PDF document with two pages. One of the pages is rotated 90 degrees clockwise.
I want to add a red-colored rectangle at the lower-left corner of each page. When the page is not rotated, it works correctly. Howe…...annotation is placed using the media‑box coordinates (origin at the lower‑left...Width; // width of the media box (un‑rotated) double pageH = page...