mult-fun.lua /size: 11 Kb    last modification: 2025-02-21 11:03
1return {
2    internals = {
3        --
4        "nocolormodel", "greycolormodel", "graycolormodel", "rgbcolormodel", "cmykcolormodel",
5        "shadefactor", "shadeoffset",
6        "textextoffset", "textextanchor",
7        "normaltransparent", "multiplytransparent", "screentransparent", "overlaytransparent",
8        "softlighttransparent", "hardlighttransparent", "colordodgetransparent", "colorburntransparent",
9        "darkentransparent", "lightentransparent", "differencetransparent", "exclusiontransparent",
10        "huetransparent", "saturationtransparent", "colortransparent", "luminositytransparent",
11     -- "originlength", "tickstep ", "ticklength",
12     -- "autoarrows", "ahfactor",
13     -- "angleoffset", anglelength", anglemethod",
14        "ahvariant", "ahdimple", "ahfactor", "ahscale",
15        "metapostversion",
16        "maxdimensions",
17        "drawoptionsfactor",
18        "dq", "sq",
19        "crossingscale", "crossingoption", "crossingdebug",
20        "contextlmtxmode", "metafunversion", "minifunversion",
21        --
22        -- for the moment we put these here as they need to stand out
23        --
24        "getparameters",
25        "presetparameters",
26        "hasparameter",
27        "hasoption",
28        "getparameter",
29        "getparameterdefault",
30        "getparametercount",
31        "getmaxparametercount",
32        "getparameterpath",
33        "getparameterpen",
34        "getparametertext",
35     -- "getparameteroption",
36        "applyparameters",
37        "mergeparameters",
38        "pushparameters",
39        "popparameters",
40        "setluaparameter",
41        "definecolor",
42        --
43        "record", "newrecord", "setrecord", "getrecord", "cntrecord",
44        --
45        "anchorxy", "anchorx", "anchory",
46        "anchorht", "anchordp",
47        "anchorul", "anchorll", "anchorlr", "anchorur",
48        "localanchorbox", "localanchorcell", "localanchorspan",
49        "anchorbox", "anchorcell", "anchorspan",
50        "matrixbox", "matrixcell", "matrixspan",
51        --
52        "pensilcolor", "pensilstep",
53        --
54        "uu"
55    },
56    commands = {
57        "loadfile", "loadimage", "loadmodule",
58        "dispose", "nothing", "transparency", "tolist", "topath", "tocycle",
59        --
60        "sqr", "log", "ln", "exp", "inv", "pow", "pi", "radian",
61        "tand", "cotd", "sin", "cos", "tan", "cot", "atan", "asin", "acos",
62        "invsin", "invcos", "invtan", "acosh", "asinh", "sinh", "cosh", "tanh",
63        "zmod",
64        "paired", "tripled",
65        "unitcircle", "fulldiamond", "unitdiamond", "fullsquare", "unittriangle", "fulltriangle",
66        "unitoctagon", "fulloctagon", "unithexagon", "fullhexagon",
67        "arc",
68     -- "halfcircle", "quartercircle",
69        "llcircle", "lrcircle", "urcircle", "ulcircle",
70        "tcircle", "bcircle", "lcircle", "rcircle",
71        "lltriangle", "lrtriangle", "urtriangle", "ultriangle",
72        "uptriangle", "downtriangle", "lefttriangle", "righttriangle", "triangle",
73        "smoothed", "cornered", "superellipsed", "randomized", "randomizedcontrols", "randomrotatedcontrols",
74        "squeezed", "enlonged", "shortened", "punked", "curved", "unspiked", "simplified", "blownup", "stretched",
75        "enlarged", "leftenlarged", "topenlarged", "rightenlarged", "bottomenlarged",
76        "crossed", "laddered", "randomshifted", "interpolated", "perpendicular", "paralleled", "cutends", "peepholed",
77        "llenlarged", "lrenlarged", "urenlarged", "ulenlarged",
78        "llmoved", "lrmoved", "urmoved", "ulmoved",
79        "rightarrow", "leftarrow", "centerarrow", "drawdoublearrows",
80        "boundingbox", "innerboundingbox", "outerboundingbox", "pushboundingbox", "popboundingbox",
81        "boundingradius", "boundingcircle", "boundingpoint",
82        "crossingunder", "insideof", "outsideof",
83        "bottomboundary", "leftboundary", "topboundary", "rightboundary",
84        "xsized", "ysized", "xysized", "sized", "xyscaled",
85        "intersection_point", "intersection_found", "penpoint",
86        "bbwidth", "bbheight",
87        "withshade", "withcircularshade", "withlinearshade", -- old but kept
88        "defineshade", "shaded",
89     -- "withshading", "withlinearshading", "withcircularshading", "withfromshadecolor", "withtoshadecolor",
90        "shadedinto", "withshadecolors",
91        "withshadedomain", "withshademethod", "withshadefactor", "withshadevector",
92        "withshadecenter", "withshadedirection", "withshaderadius", "withshadetransform", "withshadecenterone", "withshadecentertwo",
93        "withshadestep", "withshadefraction", "withshadeorigin", "shownshadevector", "shownshadeorigin",
94        "shownshadedirection", "shownshadecenter",
95        "registerluminositygroup", "applyluminositygroup", "luminositygroup", "luminosityshade",
96        "cmyk", "spotcolor", "multitonecolor", "namedcolor",
97        "drawfill", "undrawfill",
98        "inverted", "uncolored", "softened", "grayed", "greyed",
99        "dashing", "starring",
100        "sortedpath", "uniquepath", "hascurvature",
101        "onlayer",
102        "along",
103        "graphictext", "loadfigure", "externalfigure", "figure", "register",
104        "outlinetext", "filloutlinetext", "drawoutlinetext", "outlinetexttopath",
105        "checkedbounds", "checkbounds", "strut", "rule",
106        "withmask", "bitmapimage",
107        "colordecimals", "ddecimal", "dddecimal", "ddddecimal", "colordecimalslist",
108        "textext", "thetextext", "rawtextext", "textextoffset", "texbox", "thetexbox", "rawtexbox", "istextext", "infotext",
109        "rawmadetext", "validtexbox", "onetimetextext", "rawfmttext", "thefmttext", "fmttext", "onetimefmttext",
110        "notcached", "keepcached",
111        "verbatim",
112        "thelabel", "label",
113        "autoalign",
114        "transparent", "withtransparency", "withopacity",
115        "property", "properties", "withproperties",
116        "namedstacking", "withnamedstacking",
117        "withannotation",
118        "asgroup",
119        "withpattern", "withpatternscale", "withpatternfloat",
120        "infont", -- redefined using textext
121     -- "set_linear_vector", "set_circular_vector",
122     -- "linear_shade", "circular_shade",
123     -- "define_linear_shade", "define_circular_shade",
124     -- "define_circular_linear_shade", "define_circular_linear_shade",
125     -- "define_sampled_linear_shade", "define_sampled_circular_shade",
126        "space", "crlf", "dquote", "percent", "SPACE", "CRLF", "DQUOTE", "PERCENT",
127        "grayscale", "greyscale", "withgray", "withgrey",
128        "colorpart", "colorlike",
129        "readfile",
130        "clearxy", "unitvector",
131        "center", -- redefined
132        "epsed", "anchored",
133        "originpath", "infinite",
134        "break",
135        "xstretched", "ystretched", "snapped",
136        --
137        "pathconnectors", "function",
138        "constructedfunction", "constructedpath", "constructedpairs",
139     -- "punkedfunction", "punkedpath", "punkedpairs",
140        "straightfunction", "straightpath", "straightpairs",
141        "curvedfunction", "curvedpath", "curvedpairs",
142     -- "tightfunction", "tightpath", "tightpairs",
143        --
144        "evenly", "oddly",
145        --
146        "condition",
147        --
148        "pushcurrentpicture", "popcurrentpicture",
149        --
150        "arrowpath", "resetarrows",
151     -- "colorlike",  "dowithpath", "rangepath", "straightpath", "addbackground",
152     -- "cleanstring", "asciistring", "setunstringed", "getunstringed", "unstringed",
153     -- "showgrid",
154     -- "phantom",
155     -- "xshifted", "yshifted",
156     -- "drawarrowpath", "midarrowhead", "arrowheadonpath",
157     -- "drawxticks", "drawyticks", "drawticks",
158     -- "pointarrow",
159     -- "thefreelabel", "freelabel", "freedotlabel",
160     -- "anglebetween", "colorcircle",
161     -- "remapcolors", "normalcolors", "resetcolormap", "remapcolor", "remappedcolor",
162     -- "recolor", "refill", "redraw", "retext", "untext", "restroke", "reprocess", "repathed",
163        "tensecircle", "roundedsquare",
164        "colortype", "whitecolor", "blackcolor", "basiccolors", "complementary", "complemented",
165        "resolvedcolor",
166        --
167     -- "swappointlabels",
168        "normalfill", "normaldraw", "visualizepaths", "detailpaths", "naturalizepaths",
169        "drawboundary", "drawwholepath", "drawpathonly",
170        "visualizeddraw", "visualizedfill", "detaileddraw",
171        "draworigin", "drawboundingbox",
172        "drawpath",
173        "drawpoint", "drawpoints", "drawcontrolpoints", "drawcontrollines",
174        "drawpointlabels",
175        "drawlineoptions", "drawpointoptions", "drawcontroloptions", "drawlabeloptions",
176        "draworiginoptions", "drawboundoptions", "drawpathoptions", "resetdrawoptions",
177        --
178        "undashed", "pencilled",
179        --
180        "decorated", "redecorated", "undecorated",
181        --
182        "passvariable", "passarrayvariable", "tostring", "topair", "format", "formatted", "quotation", "quote",
183        "startpassingvariable", "stoppassingvariable",
184        --
185        "eofill", "eoclip", "nofill", "dofill", "fillup", "eofillup", "nodraw", "dodraw", "enfill",
186        "area",
187        --
188        "addbackground",
189        --
190        "shadedup", "shadeddown", "shadedleft", "shadedright",
191        --
192        "sortlist", "copylist", "shapedlist", "listtocurves", "listtolines", "listsize", "listlast", "uniquelist",
193        --
194        "circularpath", "squarepath", "linearpath",
195        --
196        "theoffset",
197        --
198        "texmode", "systemmode",
199        "texvar", "texstr",
200        "isarray", "prefix", "dimension",
201        "getmacro", "getdimen", "getcount", "gettoks",
202        "setmacro", "setdimen", "setcount", "settoks",
203        "setglobalmacro", "setglobaldimen", "setglobalcount", "setglobaltoks",
204        --
205        "positionpath", "positioncurve", "positionxy", "positionparagraph", "positioncolumn",
206        "positionwhd", "positionpage", "positionregion", "positionbox", "positionx", "positiony",
207        "positionanchor", "positioninregion", "positionatanchor",
208        "positioncolumnbox", "overlaycolumnbox", "positioncolumnatx",
209        "positioninregion", "positionpar",
210        --
211        "getposboxes", "getmultipars",
212        "getpospage", "getposparagraph", "getposcolumn", "getposregion",
213        "getposx", "getposy", "getposwidth", "getposheight", "getposdepth",
214        "getposleftskip", "getposrightskip", "getposhsize", "getposparindent", "getposhangindent", "getposhangafter",
215        "getposxy", "getposupperleft", "getposlowerleft", "getposupperright", "getposlowerright",
216        "getposllx", "getposlly", "getposurx", "getposury",
217        --
218        "wdpart", "htpart", "dppart",
219        --
220        "texvar", "texstr",
221        --
222        "inpath", "pointof", "leftof", "rightof",
223        --
224        "utfchr", "utfnum", "utflen", "utfsub",
225        --
226        "newhash", "disposehash", "resethash", "inhash", "tohash", "fromhash",
227        --
228        "isarray", "prefix", "isobject",
229        --
230        "comment", "report", "lua", "lualist", "mp", "MP", "luacall",
231        --
232        "mirrored", "mirroredabout", "xslanted", "yslanted",
233        --
234        "scriptindex", "newscriptindex",
235        --
236        "newcolor", "newrgbcolor", "newcmykcolor",
237        "newnumeric", "newboolean", "newtransform", "newpath", "newpicture", "newstring", "newpair",
238        --
239        "mpvard", "mpvarn", "mpvars", "mpvar",
240        --
241        "withtolerance",
242        --
243        "hatched", "withdashes",
244        "processpath", "pencilled",
245        "sortedintersectiontimes", "intersectionpath", "firstintersectionpath", "secondintersectionpath",
246        "intersectionsfound", "cutbeforefirst", "cutafterfirst",  "cutbeforelast", "cutafterlast",
247        --
248        "xnormalized", "ynormalized", "xynormalized",
249        "phantom",
250        "scrutinized",
251        --
252        "xshifted",
253        "yshifted",
254        --
255        "reducedpath", "reducedenvelope", "enveloped", "hasreducedcurvature",
256        --
257        "totalarea",
258        --
259        "penstroked", "nepstroke",
260    },
261}
262