X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=doc%2Fctsim-appendix.tex;h=9c242d16b8b8314a24b5a294ed872c5ed6d7d16b;hp=2e2aed60b943082c21c49211f16fba8d1700eaf3;hb=17f20398d8bb0e4b97b5884b999bbe8d58c5254f;hpb=4ab75eaf538f5b42cf86830e44eee70590cd8c9a diff --git a/doc/ctsim-appendix.tex b/doc/ctsim-appendix.tex index 2e2aed6..9c242d1 100644 --- a/doc/ctsim-appendix.tex +++ b/doc/ctsim-appendix.tex @@ -30,20 +30,20 @@ Dam\cite{FOLEY82}. It is designed to be platform-independent. \subsection{Master coordinate functions} \begin{twocollist} -\twocolitem{\texttt{setWindow(xmin, ymin, xmax, ymax)}}{Set window for world +\twocolitem{\texttt{setWindow(xmin,ymin,xmax,ymax)}}{Set window for world coordinates} -\twocolitem{\texttt{moveAbs(x, y)}}{Move graphics cursor to absolute position} -\twocolitem{\texttt{moveRel(dx, dy)}}{Move graphics cursor relative to current position} -\twocolitem{\texttt{pointAbs(x, y)}}{Draw point at current position} -\twocolitem{\texttt{pointRel(dx, dy)}}{Draw point relative to current position} -\twocolitem{\texttt{lineAbs(x, y)}}{Draw line from current position to +\twocolitem{\texttt{moveAbs(x,y)}}{Move graphics cursor to absolute position} +\twocolitem{\texttt{moveRel(dx,dy)}}{Move graphics cursor relative to current position} +\twocolitem{\texttt{pointAbs(x,y)}}{Draw point at current position} +\twocolitem{\texttt{pointRel(dx,dy)}}{Draw point relative to current position} +\twocolitem{\texttt{lineAbs(x,y)}}{Draw line from current position to absolute position} -\twocolitem{\texttt{lineRel(dx, dy)}}{Draw line from current position to position +\twocolitem{\texttt{lineRel(dx,dy)}}{Draw line from current position to position relative to current position} \twocolitem{\texttt{markerAbs(x,y)}}{Draw marker at current position} \twocolitem{\texttt{markerRel(dx,dy)}}{Draw marker relative to current position} -\twocolitem{\texttt{polylineAbs(x[], y[], n)}}{Draw a series of lines to absolute position} -\twocolitem{\texttt{polylineRel(dx[], dy[], n)}}{Draw series of lines relative to current position} +\twocolitem{\texttt{polylineAbs(x[],y[],n)}}{Draw a series of lines to absolute position} +\twocolitem{\texttt{polylineRel(dx[],dy[],n)}}{Draw series of lines relative to current position} \twocolitem{\texttt{drawString(str)}}{Draw text string at current positon} \twocolitem{\texttt{drawCircle(r)}}{Draw circle at current positon} \twocolitem{\texttt{drawArc(r,start,stop)}}{Draw arc with center at current positon} @@ -52,11 +52,11 @@ relative to current position} \subsection{Normalized coordinate functions}% \begin{twocollist} -\twocolitem{\texttt{Viewport(xmin, ymin, xmax, ymax)}}{Viewport for window +\twocolitem{\texttt{Viewport(xmin,ymin,xmax,ymax)}}{Viewport for window in NDC} -\twocolitem{\texttt{stylus(x, y, beam)}}{Draw a line from current -position} -\twocolitem{\texttt{markerNDC(xndc, yndc)}}{Draw marker at NDC position} +\twocolitem{\texttt{stylus(x,y,beam)}}{Draw a line from current +position if beam = 1, otherwise move stylus to new position} +\twocolitem{\texttt{markerNDC(xndc,yndc)}}{Draw marker at NDC position} \end{twocollist} \subsection{Master coordinate to World coordinate transformations}% @@ -90,7 +90,7 @@ coordinates} \twocolitem{\texttt{setLinestyle(style)}}{Set current pen style} \twocolitem{\texttt{setLinewidth(width)}}{Set current pen width} \twocolitem{\texttt{setTextColor(foreground, background)}}{Set text colors} -\twocolitem{\texttt{setMarker(type, color)}}{Set marker attibutes} +\twocolitem{\texttt{setMarker(type,color)}}{Set marker attibutes} \twocolitem{\texttt{setRasterOp(rasterOp)}}{Set raster operator} \end{twocollist}