Thread Rating:
  • 312 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
文字の高さについて
12-06-2012, 04:44 PM,
#1
文字の高さについて
ある文字列(String)を画面に描画したときに、その文字の高さを取得したいです。

文字列の幅は DisplayContext.get-string-advance-width で取得できるので、
同じように取れるのかと思いましたが、それにあたりそうなものが見当たりません。

get-font-ascent、get-font-descent、get-font-underline-position を足し合わせるしかないのでしょうか。

Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('661')