summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2007-03-27 18:10:50 +0000
committerSilenio Quarti <silenio>2007-03-27 18:10:50 +0000
commitaa692dc2f68547194a602c1cfba812bf6cddb924 (patch)
tree844cd2e99ddf3a0a4ed1744a0607c5b2ed8a10b3 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
parentf71f1339048e21058c2e35ceaab6f0c8849acb94 (diff)
downloadeclipse.platform.swt-aa692dc2f68547194a602c1cfba812bf6cddb924.tar.gz
eclipse.platform.swt-aa692dc2f68547194a602c1cfba812bf6cddb924.tar.xz
eclipse.platform.swt-aa692dc2f68547194a602c1cfba812bf6cddb924.zip
150357 - [Linux] [cairo] GC.setAdvance(true) and subsequent drawing of images fails
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
index 279587f7a1..b630487540 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
@@ -91,6 +91,7 @@ public class Cairo {
public static final int CAIRO_EXTEND_NONE = 0;
public static final int CAIRO_EXTEND_REPEAT = 1;
public static final int CAIRO_EXTEND_REFLECT = 2;
+ public static final int CAIRO_EXTEND_PAD = 3;
public static final int CAIRO_PATH_MOVE_TO = 0;
public static final int CAIRO_PATH_LINE_TO = 1;
public static final int CAIRO_PATH_CURVE_TO = 2;
@@ -103,6 +104,8 @@ public static final synchronized native int cairo_path_t_sizeof ();
public static final synchronized native int cairo_text_extents_t_sizeof ();
/** Natives */
+public static final synchronized native int CAIRO_VERSION_ENCODE(int major, int minor, int micro);
+public static final synchronized native int cairo_version();
public static final synchronized native int /*long*/ cairo_create (int /*long*/ target);
public static final synchronized native int /*long*/ cairo_reference (int /*long*/ cr);
public static final synchronized native void cairo_destroy (int /*long*/ cr);