diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-08 17:59:01 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-08 17:59:01 +0200 |
commit | 3691e25e611249750a260ec00aa139ba82a37bca (patch) | |
tree | 0c1bac1c1be87850fec3bc43c25aaccad9f02239 /tex/context/interface/mkiv/i-clipping.xml | |
parent | 86659b2416b5513b448fa70329d135e3a8ce165c (diff) | |
download | context-3691e25e611249750a260ec00aa139ba82a37bca.tar.gz |
2016-07-08 17:24:00
Diffstat (limited to 'tex/context/interface/mkiv/i-clipping.xml')
-rw-r--r-- | tex/context/interface/mkiv/i-clipping.xml | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/tex/context/interface/mkiv/i-clipping.xml b/tex/context/interface/mkiv/i-clipping.xml new file mode 100644 index 000000000..aa152a85b --- /dev/null +++ b/tex/context/interface/mkiv/i-clipping.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?context-directive job ctxfile x-setups.ctx ?> + +<cd:interface xmlns:cd="http://www.pragma-ade.com/commands"> + + <cd:command name="setupclipping" file="grph-trf.mkiv"> + <cd:arguments> + <cd:assignments list="yes"> + <cd:parameter name="state"> + <cd:constant type="start" default="yes"/> + <cd:constant type="stop"/> + </cd:parameter> + <cd:parameter name="width"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="height"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="hoffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="voffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="x"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="y"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="nx"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="ny"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="sx"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="sy"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="leftoffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="rightoffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="topoffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="bottomoffset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="mp"> + <cd:constant type="cd:name"/> + </cd:parameter> + <cd:parameter name="n"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="offset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="clip" file="grph-trf.mkiv"> + <cd:arguments> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupclipping"/> + </cd:assignments> + <cd:content/> + </cd:arguments> + </cd:command> + +</cd:interface> |