78 |
private Font font; |
private Font font; |
79 |
private FontRenderContext ctx; |
private FontRenderContext ctx; |
80 |
|
|
81 |
private native void initState (GdkClasspathFontPeer peer, FontRenderContext ctx); |
private native void initState (GdkFontPeer peer, FontRenderContext ctx); |
82 |
private native void setChars (String s); |
private native void setChars (String s); |
83 |
private native void setGlyphCodes (int codes[]); |
private native void setGlyphCodes (int codes[]); |
84 |
private native void dispose (); |
private native void dispose (); |
117 |
*/ |
*/ |
118 |
|
|
119 |
|
|
120 |
public GdkGlyphVector (Font f, GdkClasspathFontPeer peer, FontRenderContext c, String s) |
public GdkGlyphVector (Font f, GdkFontPeer peer, FontRenderContext c, String s) |
121 |
{ |
{ |
122 |
font = f; |
font = f; |
123 |
ctx = c; |
ctx = c; |
125 |
setChars (s); |
setChars (s); |
126 |
} |
} |
127 |
|
|
128 |
public GdkGlyphVector (Font f, GdkClasspathFontPeer peer, FontRenderContext c, int codes[]) |
public GdkGlyphVector (Font f, GdkFontPeer peer, FontRenderContext c, int codes[]) |
129 |
{ |
{ |
130 |
font = f; |
font = f; |
131 |
ctx = c; |
ctx = c; |