RE: [Harbour] New page in PDF file with cairo.
> -Original Message- > From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] > Sent: Wednesday, May 19, 2010 9:00 PM > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] New page in PDF file with cairo. > > Hi, > > > On 2010.05.19 19:40, Horodyski Marek (PZUZ) wrote: > > In c:\harbour\contrib\hbhpdf\ is class : > > > > pdf := HPDF_New() > > > > and in this class is : > > page := HPDF_AddPage( pdf) > > > > Cairo is nice, but in cairo we are do not can make this (adds page). > > Why not to look at lightning.prg that produces 20 pages pdf file. He struck me by lightning and had not noticed :) Regards, Marek Horodyski ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] New page in PDF file with cairo.
Hi, On 2010.05.19 19:40, Horodyski Marek (PZUZ) wrote: In c:\harbour\contrib\hbhpdf\ is class : pdf := HPDF_New() and in this class is : page := HPDF_AddPage( pdf) Cairo is nice, but in cairo we are do not can make this (adds page). Why not to look at lightning.prg that produces 20 pages pdf file. This is probably function : "cairo_pdf_surface_create_for_stream". I do not know if I have understood instructions from : http://cairographics.org/manual/cairo-pdf-surface.html Can anyone adds this (or other appropriate) function to Harbour I can add, but do you really need a stream instead of file? (and to libcairo-2.dll) ? You should apply to cairo developers if you want extend functionality of cairo. Regards, Mindaugas ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] New page in PDF file with cairo.
Hi, In c:\harbour\contrib\hbhpdf\ is class : pdf := HPDF_New() and in this class is : page := HPDF_AddPage( pdf) Cairo is nice, but in cairo we are do not can make this (adds page). This is probably function : "cairo_pdf_surface_create_for_stream". I do not know if I have understood instructions from : http://cairographics.org/manual/cairo-pdf-surface.html Can anyone adds this (or other appropriate) function to Harbour (and to libcairo-2.dll) ? Regards, Marek Horodyski ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour