几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-04, 05:06 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】bug in rendering of te

bug in rendering of text
bug in rendering of text
i have been working to integrate dwgdirect into
out dredging support navigation software.
i found out how to do that, but also found there
is a bug (i think) in the routines for rendering texts.
i do the following:
i have the wingdi vectorizer/rasterizer do it's job
to get the contents of a dwg on a memory dc.
with each new position for the vessel, the bitmap
is shifted to keep the vessel in the center of the
screen.
then only the edges are redrawn. i do this by telling
the m_pdevive that the size of the 'view' has changed
by calling onsize(), adjust the world to screen conversion accordingly, and than have the edge redrawn with
m_pdevice->update(). for this purpose i supply a
temporary memory dc to m_pdevive, the contents
of which i bitblt to the right position on the original
dc. this way with each position update only a very
small part of the dwg has to be redrawn resulting in
a much better performance. this works perfectly most
of the time, but when only a very small part at the
start or end of a text lies withing the edge being redraw
this is sometimes omitted. it seems to me there is a
problem with the clipping of texts. i have supplied an
image illustrating the problem.
regards,
jeroen posch.
attached images
dwg to demonstrate the problem
to further demonstrate the problem i have uploaded
the dwg with the texts which disappear to soon when
panning the window.
when you load this dwg into odamfcapp, zoom in on
one of the texts and then pan the window to the bottom,
you will see that at a certain moment the text disappears,
while it should still be partly visible. panning up again
makes the text reappear, but too late.
regards,
jeroen posch.
attached files (23.4 kb, 6 views)

we fixed this defect. unfortunately 1.14.05 posted recently (ftp) does not contain the fix.
the fix will be available in next release/update.
sergey slezkin
when will the bug fix be available
thank you sergey, when will the fix for this problem be
available and where will i be able to get it. you mention
an ftp site, where can i find that? the member files area
still refers to dwgdirect version 1.14.02...
regards,
jeroen posch.
the fix is available in 2.0 (alpha with ac2007 support).
next 1.14 update is not planned yet.
ftp site is available for members.
to get access to it please e-mail to support (or to me) your web site login or your e-mail address which is registered in oda members database.
sergey slezkin
last edited by mmuratov; 9th august 2006 at 04:20 amfff">.
ftp access
hello sergey
i am a registered member under .
regards, jeroen.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】bad font rendering yang686526 DirectDWG 0 2009-05-04 04:36 PM
【转帖】arabic text rendering yang686526 DirectDWG 0 2009-05-04 04:07 PM
【转帖】3d rendering yang686526 DirectDWG 0 2009-05-04 03:02 PM
【转帖】3d dxf rendering yang686526 DirectDWG 0 2009-05-04 03:01 PM
【转帖】2.6.3 crash when rendering the attached dwg yang686526 DirectDWG 0 2009-05-04 02:53 PM


所有的时间均为北京时间。 现在的时间是 04:04 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多