明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6325|回复: 25

[基础] how to vector image in dcl

  [复制链接]
发表于 2010-4-8 19:28:00 | 显示全部楼层 |阅读模式
function XML() {
    [native code]
}
"觉得好,就打赏"
还没有人打赏,支持一下
发表于 2010-4-8 20:07:00 | 显示全部楼层

See the help of lisp function VECTOR_IMAGE and FILL_IMAGE.
User : (vector_image X1 Y1 X2 Y2 COLOR)
User : (fill_image X1 Y1 X2 Y2 COLOR)

回复 支持 1 反对 0

使用道具 举报

发表于 2010-4-9 02:14:00 | 显示全部楼层
本帖最后由 作者 于 2010-4-9 17:48:15 编辑

Are you Indian?

Can not see,Please do not use "Firefox" Browser posted.

 楼主| 发表于 2010-4-9 17:34:00 | 显示全部楼层
function XML() {
    [native code]
}
发表于 2010-4-9 18:33:00 | 显示全部楼层
he is 鬼佬?
发表于 2010-4-11 11:27:00 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
 楼主| 发表于 2010-4-12 15:06:00 | 显示全部楼层

dear sir

yes im india

 楼主| 发表于 2010-4-12 15:11:00 | 显示全部楼层
  1. 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



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2010-4-12 15:48:00 | 显示全部楼层

 From AutoCAD help file

Draws a vector in the currently active dialog box image
(vector_image x1 y1 x2 y2 color)
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).
Arguments
x1
X coordinate of the first point.
y1
Y coordinate of the first point.
x2
X coordinate of the second point.
y2
Y coordinate of the second point.
color
An AutoCAD color number, or one of the logical color numbers shown in the following table:
Symbolic names for color attribute
Color numberADI mnemonicDescription
-2BGLCOLORCurrent background of the AutoCAD drawing area
-15DBGLCOLORCurrent dialog box background color
-16DFGLCOLORCurrent dialog box foreground color (text)
-18LINELCOLORCurrent dialog box line color

Return Values
An integer representing the color of the vector.
Examples
(setq color -2) ;; color of AutoCAD drawing area
(vector_image
 0
 0
 (dimx_tile "slide_tile")
 (dimy_tile "slide_tile")
 color
)
(end_image)

发表于 2010-4-12 17:18:00 | 显示全部楼层

请说中文!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-14 14:48 , Processed in 0.950893 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表