RE: rectangle issues
Look up the Rect() function, also the SetLineWidth() function in the official TCPDF documentation (tcpdf.org). The "style" parameter is important - you probably have to set it to "D" or "DF". n.b. if you have not come across it before, the documentation is a little arcane, but the "examples" tab is brilliant - each section has a PDF link, which shows all the resulting graphics, and a corresponding PHP link, which shows the code behind each graphic. Page 12 (graphic methods) shows a whole bunch of rectangles and other shapes.
Note also that the TCPDF class has been sub-classed in WebERP. With respect to the people who did this, for perfectly good reasons, like backwards-compatibility, if you are making any significant changes to reports, you will probably find the original TCPDF methods an awful lot more straightforward.
|