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

📄 subject_51743.htm

📁 vc
💻 HTM
字号:
<p>
序号:51743 发表者:IT40 发表日期:2003-09-03 20:42:07
<br>主题:关于 windows 程序设计(5 Edition)上的错误
<br>内容:windows 程序设计(5 Edition)p 76 书上说tmExternalLeading不包括在tmHeight中<BR>可为什么图上画的却在里面?这里似乎有问题请已经搞懂的朋友指教<BR><BR>还有什么错误也可以告诉大家一下<BR><BR>还有个问题,比如本来一个win32 application 的c程序是好的可以执行,可是我改动一下,再编译可以,可是经常就不能执行是怎么回事啊:<BR>Linking...<BR>LINK : fatal error LNK1168: cannot open Debug/fff.exe for writing<BR>Error executing link.exe.<BR>
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:微笑的撒旦 回复日期:2003-09-03 21:11:33
<br>内容:fff.exe正在运行,打开任务管理起把它杀掉。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:IT40 回复日期:2003-09-04 18:11:35
<br>内容:那第一个问题呢
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:微笑的撒旦 回复日期:2003-09-04 21:59:47
<br>内容:不知你说的是不是这张图,我从英文档里复制出来的,上边是 tmInternalLeading而不是tmExternalLeading。<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:微笑的撒旦 回复日期:2003-09-04 22:01:47
<br>内容:这是图
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:IT40 回复日期:2003-09-05 00:32:50
<br>内容:对 就是这个 谢谢<BR>但是书上说tmExternalLeading是字符横向的距离<BR>为什么后来加到tmHeight上去了<BR>我怀疑翻译有问题 原版是怎么说的 谢谢
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:微笑的撒旦 回复日期:2003-09-05 16:58:05
<br>内容:The most important value is tmHeight, which is the sum of tmAscent and tm???. These two values represent the maximum vertical extents of characters in the font above and below the baseline. The term &#34;leading&#34; refers to space that a printer inserts between lines of text. In the TEXTMETRIC structure, internal leading is included in tmAscent (and thus in tmHeight) and is often the space in which accent marks appear. The tmInternalLeading field could be set to 0, in which case accented letters are made a little shorter so that the accent marks fit within the ascent of the character. <BR><BR>The TEXTMETRIC structure also includes a field named tmExternalLeading, which is not included in the tmHeight value. This is an amount of space that the designer of the font suggests be added between successive rows of displayed text. You can accept or reject the font designer's suggestion for including external leading when spacing lines of text. In the system fonts that I've encountered recently, tmExternalLeading has been zero, which is why I didn't include it in Figure 4-3. (Despite my vow not to tell you the dimensions of a system font, Figure 4-3 is accurate for the system font that Windows uses by default for a 640 by 480 display.) <BR><BR>/////////////////////<BR>???代表Descent,因为论坛不准连以来:(
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:IT40 回复日期:2003-09-05 19:32:10
<br>内容:多谢 不过大致什么意思<BR>我的E文差
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:微笑的撒旦 回复日期:2003-09-05 21:43:59
<br>内容:tmHeight是整个字元的高度,tmInternalLeading是重音的高度,它包括在tmHeight中,是字元的一部分。<BR>tmExternalLeading是字体设计师建议的行与行之间的空隙,不是字元的一部分。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -