📄 node104.html
字号:
plot the facet INSTRU = 11 : CLEAR SCREEN (CLEAN) ---------- all existing plots are deleted INSTRU = 12 : DISPLAY OF A SEGMENT. HIGHLIGHT (DSPLAY, HIGHLT) ---------- I1 : 0 = normal display 1 = highlight (blinking ...) ICH(1) = segment number INSTRU = 13 : OPENING A SEGMENT (OPENG) ---------- ICH(1) = segment number a segment represents a sequence of graphical instructions defined between openg and closeg. INSTRU = 14 : CLOSING A SEGMENT (CLOSEG) ---------- INSTRU = 15 : KILL A SEGMENT (KILL) ---------- ICH(1) = segment number INSTRU = 16 : REMOVE A SEGMENT (REMOVG) ---------- ICH(1) = segment number INSTRU = 17 : INQUIRE SCREEN SIZE (SZSCRN) ---------- OUT : V1(1) = abscissa of the lower left-hand corner in cm. V1(2) = its ordinate in cm. V1(3) = abscissa of the upper right-hand corner in cm. V1(4) = its ordinate in cm. The screen is thus defined in cm. INSTRU = 18 : INQUIRE IF SEGMENT EXISTS (INQEXS) ---------- IN : ICH(1)= segment number OUT : I2= 0 if the segment exists, 1 if not INSTRU = 19 : LIST OF EXISTING SEGMENTS (INQNXS) ---------- IN : I1 = 1 initialization of the search I1 = 0 request next segment number OUT : if I1 = 0 I2 = 0 if there is a next segment ICH(1) number of this segment I2 -= 0 if there is no segment following INSTRU = 20 : UPDATE SCREEN (UPDATE) ---------- INSTRU = 21 : END, CLOSE DEVICE (ENDDEV) ---------- IN : I1 : terminal number INSTRU = 22 : GO TO STEREO MODE (STEREO) ---------- IN: I1=1 (on) I1=0 (off) OUT: I2 =0 stereo I2-=0 no stereo INSTRU = 23 : CURRENT COLOR (INQCOL) ---------- OUT : V1(1), V2(1), V3(1) reals between 0. and 1. giving R G B (proportion of Red, Green, Blue) INSTRU = 24 : SET CURRENT COLOR (SETCOL) ---------- IN : set the current color equal to the value in the array closest to (V1(1), V2(1), V3(1) INSTRU = 25 : NUMBER OF COLORS (INBCOL) ---------- OUT : I1 : number of colors possible (background color and at least the other : I1 >= 2) INSTRU = 26 : DEFINE THE COLOR ARRAY (SETTBC) ---------- IN : Set V1(1:), V2(1:), V3(1:) [0...1] in the color array between indices I1 and I2 inclusive. Indices I1 and I2 varies from 0 to nbcolo-1. OUT : I3 = 0 assignment performed I3 = -1 table not modifiable INSTRU = 27 : NUMBER OF COLORS AND ARRAY (INQTBC) ---------- OUT : returns in V1(1:), V2(1:), V3(1:) [0...1] the current color array between the indices I1 and I2 inclusive. Indices I1 and I2 varies from 0 to nbcolo-1. INSTRU = 28 : HARD CLIP FOR TEXT (CLIPHD) ---------- IN : V1(1) min in x of the zone, in cm. V1(2) max in x V1(3) min in y V1(4) max in y I1 = 1 clip, 0 if not INSTRU = 29 : SELECTIVE DELETION (INQFAC) ---------- OUT : I1 : 0 if selective deletion is possible, 1 if not INSTRU = 30 : EXISTENCE OF INPUT (INQCUR) ---------- OUT : I1 : 0 if there is input at the cursor (or other), 1 if not If there is input we keep the same terminal number (see ITRCTG : adapting to a new input terminal) INSTRU = 31 : MAXIMUM TEXT QUALITY (INQMQT) ---------- OUT : I1 =0 if the maximum text quality is HARD (le text soft est plus mauvais que le hard) =1 if the maximum text quality is SOFT INSTRU = 32 : TEXT CENTERING (CTRTXT) ---------- IN : V1(1) = alpha position in a box (0., 0.) (1., 1.) V1(2) = beta of the center of the text in x (alpha) and y (beta) : alpha and beta between 0. et 1. By default alpha = beta = 0. INSTRU = 33 : INQUIRE MAXIMUM NUMBER OF SEGMENTS MANAGED (INQSGM) ---------- OUT : I1 = maximum number of segments managed (0 = none) if i1 >0 this signifies that ALL instructions are managed correctly: === 12 DSPLAY 13 OPENG 14 CLOSEG 15 KILL 16 REMOVG 18 INQEXS 19 INQNXS INSTRU = 34 : RETURN THE NUMBER OF THE CURRENT COLOR (INQNCO) ---------- OUT : I1 = number of current color INSTRU = 35 : hardcopy (HARDCP) ---------- IN: I1 = choix1 (if different hardcopy terminals) I2 = choix2 (if different material possibilities)</PRE><P>Inspired by the programs already proposed, we define the different actions as a function of the possibilities offered by the graphics terminal at our disposal.<P> The fictitious subroutine, PEREXE, residing in library <b> perf-example</b> can serve as a modelwhen creating the output program for a new device.<P><P><P> In addition, a certain number of subroutines were written to aid with a quick implementation of the drivers (see chapter <A HREF="node92.html#chap_intern">7</A> and the index):<P> <PRE> GETUNF RCHARS RINTG RREAL CHARI WCHARS ZCENTR ZCOLOR ZFNDTC ZGNUM ZGTEXT ZSTROK ZTXT</PRE><P><P><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html1688 HREF="node103.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1694 HREF="node102.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1696 HREF="node105.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1698 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node104.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node104.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node104.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1697 HREF="node105.html">8.3 List of devices available</A><B>Up: </B> <A NAME=tex2html1695 HREF="node102.html">8 Adapting a new terminal</A><B> Prev: </B> <A NAME=tex2html1689 HREF="node103.html">8.1 Adapting a new input terminal</A><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -