메소드 | 설명 | |
---|---|---|
CalculateGlyphAdvancePos ( char str, int startAt, int len, |
||
GetWinGdiFont ( |
||
MeasureString ( char buff, int startAt, int len, |
||
MeasureString ( char buff, int startAt, int len, |
Measure the width and height of string str when drawn on device context HDC using the given font font.
|
|
MeasureWhitespace ( |
||
SetDefaultEncoding ( |
메소드 | 설명 | |
---|---|---|
MeasureCharWidths ( |
||
SetFont ( |
||
WinGdiTextService ( ) : System |
public static CalculateGlyphAdvancePos ( char str, int startAt, int len, |
||
str | char | |
startAt | int | |
len | int | |
font | ||
glyphXAdvances | int | |
리턴 | void |
public static GetWinGdiFont ( |
||
f | ||
리턴 |
public static MeasureString ( char buff, int startAt, int len, |
||
buff | char | |
startAt | int | |
len | int | |
font | ||
리턴 | Size |
public static MeasureString ( char buff, int startAt, int len, |
||
buff | char | |
startAt | int | |
len | int | |
font | the font to measure string with | |
maxWidth | float | the max width to render the string in |
charFit | int | the number of characters that will fit under |
charFitWidth | int | |
리턴 | Size |
public static MeasureWhitespace ( |
||
f | ||
리턴 | float |
public static SetDefaultEncoding ( |
||
en | ||
리턴 | void |