TPRINTER/HARUPDF Pen

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

TPRINTER/HARUPDF Pen

Post by byte-one »

If i use the same oPen in tprinter and fwpdf the linewidth of box(...) are different! In tprinter the line are much stronger.
It seems, that box(..) in tprinter not compatible with older versions in case of using a pen-object. If i use oPen:hPen then is ok!
Last edited by byte-one on Sun Mar 08, 2020 12:03 pm, edited 2 times in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: HARUPDF Pen

Post by byte-one »

Mr. Nages, in TPrinter:

Code: Select all

ParamPen( anoPen, lNew )
.....
         hPen  := CreatePen( PS_SOLID, aPen[ 2 ] * ::nLogPixelX() / 72, aPen[ 1 ] )   //this calculation should be dependent from cUnits!
.....
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: TPRINTER/HARUPDF Pen

Post by nageswaragunupudi »

Please see pen.prg and suggest your modifications.
Regards

G. N. Rao.
Hyderabad, India
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: TPRINTER/HARUPDF Pen

Post by byte-one »

Mr. Nages, i have made some modifications on printer.prg and fwpdf.prg to improve this effect! Can i send you (your email??) the files? All modifications are marked with BYTE-ONE.
Regards,
Günther
---------------------------------
office@byte-one.com
Post Reply