summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2006-07-05 16:31:12 +0000
committerFelipe Heidrich <fheidric>2006-07-05 16:31:12 +0000
commit7f9fed93a58407b1534210fdee982a8ba5e1eacf (patch)
treefb5b2d2dbd070ca43fe4c01c59968f2741fc2fa6 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
parent0054e44bae79888fe8fb634f4b01c2321d00ad18 (diff)
downloadeclipse.platform.swt-7f9fed93a58407b1534210fdee982a8ba5e1eacf.tar.gz
eclipse.platform.swt-7f9fed93a58407b1534210fdee982a8ba5e1eacf.tar.xz
eclipse.platform.swt-7f9fed93a58407b1534210fdee982a8ba5e1eacf.zip
fixing structures
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, 2 insertions, 1 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 f30f185893..279587f7a1 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
@@ -100,6 +100,7 @@ public class Cairo {
public static final synchronized native int cairo_font_extents_t_sizeof ();
public static final synchronized native int cairo_path_data_t_sizeof ();
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 /*long*/ cairo_create (int /*long*/ target);
@@ -174,7 +175,7 @@ public static final synchronized native void cairo_show_glyphs (int /*long*/ cr,
public static final synchronized native int /*long*/ cairo_get_font_face (int /*long*/ cr);
public static final synchronized native void cairo_font_extents (int /*long*/ cr, cairo_font_extents_t extents);
public static final synchronized native void cairo_set_font_face (int /*long*/ cr, int /*long*/ font_face);
-public static final synchronized native void cairo_text_extents (int /*long*/ cr, byte[] utf8, int /*long*/ extents);
+public static final synchronized native void cairo_text_extents (int /*long*/ cr, byte[] utf8, cairo_text_extents_t extents);
public static final synchronized native void cairo_glyph_extents (int /*long*/ cr, int /*long*/ glyphs, int num_glyphs, int /*long*/ extents);
public static final synchronized native void cairo_text_path (int /*long*/ cr, byte[] utf8);
public static final synchronized native void cairo_glyph_path (int /*long*/ cr, int /*long*/ glyphs, int num_glyphs);