/[classpath]/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by smarothy, Thu Jun 2 13:18:10 2005 UTC revision 1.2 by mkoch, Sat Jun 4 07:54:56 2005 UTC
# Line 61  static void setWidthHeight (JNIEnv * env Line 61  static void setWidthHeight (JNIEnv * env
61  /**  /**
62   * Loads a pixmap from a file.   * Loads a pixmap from a file.
63   */   */
64  JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf  JNIEXPORT jboolean JNICALL
65  (JNIEnv *env, jobject obj, jstring name)  Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf
66      (JNIEnv *env, jobject obj, jstring name)
67  {  {
68    const char *filename;    const char *filename;
69    int width, height;    int width, height;
# Line 266  Java_gnu_java_awt_peer_gtk_GtkImage_crea Line 267  Java_gnu_java_awt_peer_gtk_GtkImage_crea
267   * Draws the pixbuf at x, y, scaled to width and height and   * Draws the pixbuf at x, y, scaled to width and height and
268   * optionally composited with a given background color.   * optionally composited with a given background color.
269   */   */
270  JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled  JNIEXPORT void JNICALL
271  (JNIEnv *env, jobject obj, jobject gc_obj,  Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled
272   jint bg_red, jint bg_green, jint bg_blue,    (JNIEnv *env, jobject obj, jobject gc_obj,
273   jint x, jint y, jint width, jint height, jboolean composite)     jint bg_red, jint bg_green, jint bg_blue,
274       jint x, jint y, jint width, jint height, jboolean composite)
275  {  {
276    GdkPixbuf* dst;    GdkPixbuf* dst;
277    struct graphics *g;    struct graphics *g;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26