⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node74.html

📁 htmdoc for html coding
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>2.4 Writing directly on the visualization surface</TITLE><LINK REL=STYLESHEET TYPE="text/css"	HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="2.4 Writing directly on the visualization surface"><meta name="keywords" value="Guide6"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html1345 HREF="node73.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html1349 HREF="node70.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html1351 HREF="node75.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html1353 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide6-18/node74.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide6-14/node74.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide6-10/node74.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1352 HREF="node75.html">3 Creating a 2D image</A><B>Up: </B> <A NAME=tex2html1350 HREF="node70.html">2 General tools</A><B> Prev: </B> <A NAME=tex2html1346 HREF="node73.html">2.3 Association of names with elementary  </A><B><A HREF="node2.html"	>Contents</A></B><HR SIZE=3 WIDTH="75&#37;"><H1><A NAME=SECTION05240000000000000000>2.4 Writing directly on the visualization surface</A></H1><P><P><P>The following subroutines are used to write directly on the visualization surface.   The coordinates are given in centimeters. These subroutines can be used during the the object's description,as it does not influence the cursor's current position.Graphics and  aspects (thickness, color,...) are determined by the current values.Similarly, is a  segment  is currently open, the graphics components generated bythese subroutines are added to it.No clipping (mask,...) is performed on the graphics components definedby these subroutines.<P><UL><LI><P><PRE>      SUBROUTINE LINSRN(X1, Y1, X2, Y2)      REAL X1, Y1, X2, Y2</PRE><P>plots a<A NAME=3034>&#160;</A> line segment<A NAME=3035>&#160;</A> with origin (X1, Y1) and extremity (X2, Y2) in centimeters.<P><LI><P><PRE>      SUBROUTINE TXTSRN(STRING, NB, X, Y)      CHARACTER*(*) STRING      INTEGER NB      REAL X, Y</PRE><P>plots a<A NAME=3036>&#160;</A> string of NB characters contained in array STRING starting at position   (X, Y).When the string contains only a single character belonging to the set:<P><code> O  o  0  x  X  .  +  * </code><P>it is considered as a  marking character whose center<A NAME=3037>&#160;</A> is the point (X, Y).<P><LI><P><PRE>      SUBROUTINE DRECT(X,Y,DX,DY)      REAL X,Y,DX,DY</PRE><P>plots a<A NAME=3038>&#160;</A> rectangle whose 4 vertices are (X, Y), (X+DX, Y), (X, Y+DY) and (X+DX, Y+DY) (coordinates in  cm.).<P><LI><P><PRE>      SUBROUTINE RECT(X,Y,X2,Y2)      REAL X,Y,X2,Y2</PRE><P>plots a<A NAME=3039>&#160;</A> rectangle defined by  2 points (X, Y) and (X2, Y2) (coordinates in cm.).<P></UL><P><P><P><HR SIZE=3 WIDTH="75&#37;"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html1345 HREF="node73.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html1349 HREF="node70.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html1351 HREF="node75.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html1353 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide6-18/node74.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide6-14/node74.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide6-10/node74.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1352 HREF="node75.html">3 Creating a 2D image</A><B>Up: </B> <A NAME=tex2html1350 HREF="node70.html">2 General tools</A><B> Prev: </B> <A NAME=tex2html1346 HREF="node73.html">2.3 Association of names with elementary  </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 + -