查看单个帖子
旧 2009-05-07, 06:32 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】viewport Colour

viewport colour
viewport colour
hi. i need to find the line colour of a viewport. this is easy if the viewport has a non-rectangular entity, since i can just look up that entity and call color() on it. however, if the viewport is just a rectangle, where can i find information like layer, color, etc? i can't find any calls in oddbviewport or its ancestors that will do it, but i know the information is in there somewhere...
oh. never mind. it's all in the oddbentity baseclass. i swear it wasn't there when i looked yesterday.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)