| Search Locate Previous Next | Contents |
This allows you to add arbitrary filled rectangles to the output page. A likely application would be to print barcodes. You can set fill-colour and edge-weight in advance:
© Simple black rectangle leaf.vml.Colour 0 leaf.vml.Nib 0 leaf.vml.PolyBar 20 20 100 100
You may pass a simple vector (the length should be a multiple of 4) or an (n,4) matrix of (xyxy) co-ordinates here giving the lower left and upper right of each bar. All co-ordinate values are in points, with the origin at the lower left-hand corner of the paper.
See also ...
leaf.vml.GRestore restore co-ordinate system
leaf.vml.GSave save co-ordinate system