Attached is a patch to allow the drawing of lines from within Lua
imposition plans. It makes a command
PushLine(target page, x1, y1, x2, y2[, DashPattern])
available, where x1,y1,x2,y2 are numbers giving the coordinates of the
start and end of the line. These numbers are scaled by the global
scale factor. DashPattern must be a string with one of the values
"Solid","Dash","DashDot","DashDotDot" (all case-insensitive) or a
valid PDF line pattern string. If DashPattern is omitted, the last set
value is used, or "Solid" if no value has been set yet. See
plans/lua/BookletCut.plan for an example.

The patch should be applied from the tools/podofoimpose subdirectory
in the source. Use it as you please.

Hope someone finds this helpful.

Deter de Wet
-- 
"For there is one God, and one Mediator between God and men, the Man
Christ Jesus, who gave Himself as a ransom for all..."  (1 Tim. 2:5-6)

Attachment: podofo-cutline.patch
Description: Binary data

------------------------------------------------------------------------------

_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to