字体下划线的粗细? [英] font underline thickness?

查看:108
本文介绍了字体下划线的粗细?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

im在图形上绘制一些文本,其中字符的大小不同.当我在某些文本下划线时,我希望每个字符都具有相同大小的下划线,为了做到这一点,我需要知道如何计算下划线的粗细和位置.

我该怎么做? br>
不能找到任何api函数

谢谢!

im drawing some text on a Graphics, where the characters are of different sizes. when i underline some text, i want every character to have the same sized underline, and in order to do that, i need to know how to calculate the underline thickness and position.

how do i do that?

cant find any api function

thanks!

推荐答案

你好,海员,

Thank you for your post!  I would suggest posting your question in one of the -

XNA社区论坛


这篇关于字体下划线的粗细?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆