aboutsummaryrefslogtreecommitdiffstats
path: root/C2J/manual/glf-manualCodedImplJNI.java
blob: d18db089959e6a01849190ebcc582757f9e501d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
 * @(#) GLFFuncJNI.java
 */


package gl4java.utils.glf;

import java.net.*;

/**
 * The default implementation class for GLF native function mapping
 *
 * @version 	2.00, 21. April 1999
 * @author      Sven Goethel
 */
public abstract class GLFFuncJNI 
	implements GLFEnum
{

public abstract int glfLoadFont ( String fontname );

public abstract int glfLoadFont ( URL baseURL, String fontURI );

public abstract int glfLoadBFont ( String fontname );

public abstract int glfLoadBFont ( URL baseURL, String fontURI );

public final native String getNativeVendor ( ) ;
public final native String getNativeVersion ( ) ;

public final String getClassVendor ( ) 
{ return "Jausoft - Sven Goethel Software Development"; }

public final String getClassVersion ( ) 
{ return "1.4.0.0"; }

/**
 * Load Vector font to memory, by (FILE *) fontf 
 */
protected final native int glfLoadFontNative (long fontf);

/**
 * Load Bitmap font to memory, by (FILE *) fontf
 */
protected final native int glfLoadBFontNative (long fontf);