I'm trying to use PdfPainter::DrawGlyph with a PdfStreamedDocument object instead of a PdfMemDocument object. They're both PdfDocuments and if I cast the pDocument manually it works; I wondered whether DrawGlyph could just be rewritten to take a PdfDocument argument instead.
But when I tried to do that, I found that there's a weird type signature mismatch. The base class PdfDocument has PdfVecObjects * GetObjects () but PdfMemDocument has PdfVecObjects & GetObjects () At this point I'm out of my depth. Is there a good reason why we can only draw glyphs on in-memory documents, and is there a good reason why the return value of GetObjects is different in PdfMemDocument class? ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users