how to vector image in dcl
function XML() {} <p>See the help of lisp function VECTOR_IMAGE and FILL_IMAGE.<br/>User : (vector_image X1 Y1 X2 Y2 COLOR)<br/>User : (fill_image X1 Y1 X2 Y2 COLOR)</p> 本帖最后由 作者 于 2010-4-9 17:48:15 编辑 <br /><br /> Are you Indian?<br/><p>Can not see,Please do not use "Firefox" Browser posted.</p> function XML() {
} he is 鬼佬? <p>dear sir</p><p>yes im india</p> The following is a quoteDead catStatements in 2010-4-11 11:27:00:
dear sir
thx for reply
see attached file what actual I want
<p> From AutoCAD help file</p><p>Draws a vector in the currently active dialog box image<br/>(vector_image x1 y1 x2 y2 color)<br/>This function draws a vector in the currently active dialog box image (opened by start_image) from the point (x1,y1) to (x2,y2). The origin (0,0) is the upper-left corner of the image. You can obtain the coordinates of the lower-right corner by calling the dimension functions (dimx_tile and dimy_tile).<br/>Arguments<br/>x1 <br/>X coordinate of the first point.<br/>y1 <br/>Y coordinate of the first point.<br/>x2 <br/>X coordinate of the second point.<br/>y2 <br/>Y coordinate of the second point.<br/>color <br/>An AutoCAD color number, or one of the logical color numbers shown in the following table:<br/>Symbolic names for color attribute <br/>Color numberADI mnemonicDescription<br/>-2BGLCOLORCurrent background of the AutoCAD drawing area<br/>-15DBGLCOLORCurrent dialog box background color<br/>-16DFGLCOLORCurrent dialog box foreground color (text) <br/>-18LINELCOLORCurrent dialog box line color</p><p>Return Values<br/>An integer representing the color of the vector.<br/>Examples<br/>(setq color -2) ;; color of AutoCAD drawing area<br/>(vector_image<br/> 0<br/> 0<br/> (dimx_tile "slide_tile")<br/> (dimy_tile "slide_tile")<br/> color<br/>)<br/>(end_image)</p><div class="codeBlock"><pre class="codeLine"></pre></div> <p></p><p>请说中文!</p>