File: SWFBitmap.h

package info (click to toggle)
libming 0.2a.cvs20020110-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,204 kB
  • ctags: 4,173
  • sloc: ansic: 19,467; yacc: 2,149; cpp: 1,518; java: 1,253; ruby: 516; perl: 462; python: 436; makefile: 295; sh: 4
file content (88 lines) | stat: -rw-r--r-- 1,881 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//
// Description:
//    SWFBitmap Native Interface
//
// Authors:
//    Jonathan Shore <jshore@e-shuppan.com>
//    Based on php wrapper developed by <dave@opaque.net>
//
// Copyright:
//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
//    modify this code provided that the original copyright notice is included.
//
//    This software is distributed with no warrantee of liability, merchantability,
//    or fitness for a specific purpose.
//


#include <jni.h>


#ifndef _Included_SWFBitmap
#define _Included_SWFBitmap
#ifdef __cplusplus
extern "C" {
#endif
/* Inaccessible static: initialized */
/*
 * Class:     SWFBitmap
 * Method:    nNewDblBitmap
 * Signature: (Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDblBitmap
  (JNIEnv *, jobject, jstring);

/*
 * Class:     SWFBitmap
 * Method:    nNewJpegBitmap
 * Signature: (Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegBitmap
  (JNIEnv *, jobject, jstring);

/*
 * Class:     SWFBitmap
 * Method:    nNewJpegWithAlpha
 * Signature: (Ljava/lang/String;Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegWithAlpha
  (JNIEnv *, jobject, jstring, jstring);


/*
 * Class:     swf_api_SWFBitmap
 * Method:    nNewDataBitmap
 * Signature: ([B)I
 */
JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDataBitmap
  (JNIEnv *, jobject, jbyteArray);


/*
 * Class:     SWFBitmap
 * Method:    nDestroy
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_SWFBitmap_nDestroy
  (JNIEnv *, jobject, jint);

/*
 * Class:     SWFBitmap
 * Method:    nGetWidth
 * Signature: (I)F
 */
JNIEXPORT jfloat JNICALL Java_SWFBitmap_nGetWidth
  (JNIEnv *, jobject, jint);

/*
 * Class:     SWFBitmap
 * Method:    nGetHeight
 * Signature: (I)F
 */
JNIEXPORT jfloat JNICALL Java_SWFBitmap_nGetHeight
  (JNIEnv *, jobject, jint);

#ifdef __cplusplus
}
#endif
#endif