diff options
author | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
commit | bbb53f06c6f48d4c675d250829032e09f4065a86 (patch) | |
tree | 0583c905a5d67f3e1447456048b2e479311e4e83 /Build/source/utils/asymptote/doc/asymptote.texi | |
parent | efd1dbbaa1332a9534c25024a0c295f423714851 (diff) |
asy 2.52 sources
git-svn-id: svn://tug.org/texlive/trunk@51856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/doc/asymptote.texi')
-rw-r--r-- | Build/source/utils/asymptote/doc/asymptote.texi | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/Build/source/utils/asymptote/doc/asymptote.texi b/Build/source/utils/asymptote/doc/asymptote.texi index e0a96eec783..b803c7cfc33 100644 --- a/Build/source/utils/asymptote/doc/asymptote.texi +++ b/Build/source/utils/asymptote/doc/asymptote.texi @@ -639,7 +639,7 @@ with @code{./configure --disable-gc}. For a list of other configuration options, say @code{./configure --help}. For example, one can tell configure to look for header files and libraries in nonstandard locations: @verbatim -./configure CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib +./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib @end verbatim If you are compiling @code{Asymptote} with @code{gcc}, you will need a @@ -1201,30 +1201,34 @@ To draw a dot, simply draw a path containing a single point. The @code{dot} command defined in the module @code{plain} draws a dot having a diameter equal to an explicit pen line width or the default line width magnified by @code{dotfactor} (6 by default), -using the specified filltype (@pxref{filltype}): +using the specified filltype (@pxref{filltype}) or @code{dotfilltype} +(@code{Fill} by default): @verbatim +void dot(frame f, pair z, pen p=currentpen, filltype filltype=dotfilltype); void dot(picture pic=currentpicture, pair z, pen p=currentpen, - filltype filltype=Fill); + filltype filltype=dotfilltype); void dot(picture pic=currentpicture, Label L, pair z, align align=NoAlign, - string format=defaultformat, pen p=currentpen, filltype filltype=Fill); + string format=defaultformat, pen p=currentpen, filltype filltype=dotfilltype); void dot(picture pic=currentpicture, Label[] L=new Label[], pair[] z, align align=NoAlign, string format=defaultformat, pen p=currentpen, - filltype filltype=Fill) + filltype filltype=dotfilltype); +void dot(picture pic=currentpicture, path[] g, pen p=currentpen, + filltype filltype=dotfilltype); void dot(picture pic=currentpicture, Label L, pen p=currentpen, - filltype filltype=Fill); + filltype filltype=dotfilltype); @end verbatim @cindex @code{Label} If the variable @code{Label} is given as the @code{Label} -argument to the second routine, the @code{format} argument will be +argument to the third routine, the @code{format} argument will be used to format a string based on the dot location (here @code{defaultformat} is @code{"$%.4g$"}). -The third routine draws a dot at every point of a pair array @code{z}. +The fourth routine draws a dot at every point of a pair array @code{z}. One can also draw a dot at every node of a path: @verbatim void dot(picture pic=currentpicture, Label[] L=new Label[], - path g, align align=RightSide, string format=defaultformat, - pen p=currentpen, filltype filltype=Fill); + explicit path g, align align=RightSide, string format=defaultformat, + pen p=currentpen, filltype filltype=dotfilltype); @end verbatim See @ref{pathmarkers} and @ref{markers} for more general methods for marking path nodes. @@ -2179,9 +2183,9 @@ used to typeset scientific notation using the @code{defaultseparator="\!\times\!";}; @cindex @code{hex} -@cindex @code{hexidecimal} +@cindex @code{hexadecimal} @item int hex(string s); -casts a hexidecimal string @code{s} to an integer; +casts a hexadecimal string @code{s} to an integer; @cindex @code{ascii} @cindex @code{ascii} @@ -2848,15 +2852,15 @@ arguments to the respective color spaces. The function @code{colorless(pen=currentpen)} returns a copy of its argument with the color attributes stripped (to avoid color mixing). -A 6-character RGB hexidecimal string can be converted to a pen with +A 6-character RGB hexadecimal string can be converted to a pen with the routine @cindex @code{rgb} -@cindex @code{hexidecimal} +@cindex @code{hexadecimal} @verbatim pen rgb(string s); @end verbatim @noindent -A pen can be converted to a hexidecimal string with +A pen can be converted to a hexadecimal string with @cindex @code{hex} @item string hex(pen p); @@ -7784,7 +7788,7 @@ patches in the @acronym{PRC} model tree. Here material is a structure defined in @code{three_light.asy}: @verbatim struct material { - pen[] p; // diffusepen,ambientpen,emissivepen,specularpen + pen[] p; // diffusepen,emissivepen,specularpen real opacity; real shininess; ... @@ -9508,7 +9512,8 @@ pip3 install cson numpy pyqt5 PyQt5.sip Pictures are deconstructed into the @acronym{SVG} image format. Since @code{Qt5} does not suport @code{SVG} clipping, you will need the @code{rsvg-convert} utility, which is part of the -@code{librsvg2-tools} package on @code{UNIX} systems; under +@code{librsvg2-tools} package on @code{UNIX} systems +and the @code{librsvg} package on @code{MacOS}; under @code{Microsoft Windows}, it is available as @url{https://sourceforge.net/projects/tumagcc/files/rsvg-convert-2.40.20.7z} @@ -9873,7 +9878,7 @@ Martin Wiebusch, Stefan Knorr, and Supakorn ``Jamie'' Rassameemasmuang. @c LocalWords: unithemisphere versa XYplane xypart unitsolidcone YZEquals xml @c LocalWords: XZEquals XYEquals XZZero XYZero InTicks OutTicks InOutTicks @c LocalWords: fitscreen planeproject strokepath meshlight nullpens arrowdir -@c LocalWords: diffusepen ambientpen emissivepen specularpen arrowbarb keyval +@c LocalWords: diffusepen emissivepen specularpen arrowbarb keyval @c LocalWords: hstretch vstretch roundbox nonconvex miterlimit basealigin cmd @c LocalWords: maxviewport maxtile antialiased sphericalharmonic attachfile @c LocalWords: vertexshading smoothelevation glOptions iconified iconify kate @@ -9881,7 +9886,7 @@ Martin Wiebusch, Stefan Knorr, and Supakorn ``Jamie'' Rassameemasmuang. @c LocalWords: multisampling autogen multisample coloredpath relstep flowdir @c LocalWords: colortype coloredSegments coloredNodes trefoilknot scaledgraph @c LocalWords: minblockwidth minblockheight mincirclediameter nonassociative -@c LocalWords: nonintegral gettriple enablerepo hexidecimal XeLaTeX xelatex +@c LocalWords: nonintegral gettriple enablerepo hexadecimal XeLaTeX xelatex @c LocalWords: dvipdfmx autoadjust viewportsize viewportwidth viewportheight @c LocalWords: subregions nonsimply functionshade shader floatingdisk TopView @c LocalWords: functionshading maxlength LeftView odetest RadialShadeDraw CLZ |