#1 2010-08-05 17:04:39

rkaiser
Member
Registered: 2010-07-21
Posts: 3

TPDFCanvas: Coordinates origin?

Hello,

a quick question: Why is the origin for coordinates inside a TPDFCanvas located at the bottom left corner? Other systems (other "canvases" for example) usually use the UPPER left corner for the origin (coordinate 0/0).

Is there a reason?

Ciao,
Ralf

Last edited by rkaiser (2010-08-05 17:05:12)

Offline

#2 2010-08-05 21:32:45

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,150
Website

Re: TPDFCanvas: Coordinates origin?

TPDFCanvas is... a PDF canvas... so with such an origin...
It follows the PDF Reference document.
See http://www.adobe.com/devnet/pdf/pdf_reference.html

Use the GDI TCanvas of TPDFDocumentGDI.VCLCanvas if you want to use "classic" commands and coordinates system.

Offline

Board footer

Powered by FluxBB