Hello! 1. How does a metapost figure (\startMPcode) becomes a node? 2. When does it become a node? 3. What type of node it becomes? 4. Can I change its attributes? 5. Can I change its colors or transparency levels? André Caldas.
On 1/10/2013 5:15 PM, Andre Caldas wrote:
Hello!
1. How does a metapost figure (\startMPcode) becomes a node?
never, that is: it's turned into whatsit nodes with pdf operators and mixed with regular nodes when text is used
2. When does it become a node?
sometime in the mp converter
3. What type of node it becomes?
whatsits mixed with regular (for text)
4. Can I change its attributes?
whatsits can of course have attributes but as the content is arbitrary pdf these attributes don't play a role
5. Can I change its colors or transparency levels?
only by parsing the content or by hooking code into the converter or (better and more robust) by just applying color or transparency at the mp level Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Andre Caldas
-
Hans Hagen