Sorry if this has been answered elsewhere but if it has it's well hidden!
Basically, I've got a PDF document. On it there is a bunch of text that's surrounded by "lines". I think they're path's. I've done some playing around with the document and have deleted everything that's marked as a path and they disappear. So, so far, so good.
What I need to do though is actually understand where they are. I've read a bunch of documents, posts, articles and the like and have done something like this:
var d = FPDF_LoadDocument
var p = FPDF_LoadPage(d)
var o = FPDFPage_GetObject(d, 4)
var s = FPDFPath_GetPathSegment(o, 0)
FPDFPathSegment_GetPoint(s, out x, out y)
In the document itself, the path is roughly in the middle of the page but x and y are close to 0, 0. Infact many of the results of calls to FPDFPathSegment_GetPoint are in and around 0, 0.
What am I missing?