001 package org.bridj.jawt;
002 import org.bridj.Pointer;
003 import org.bridj.StructObject;
004 import org.bridj.ann.Field;
005 import org.bridj.ann.Library;
006 /**
007 * <i>native declaration : jawt.h</i><br>
008 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
009 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
010 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
011 */
012 @Library("jawt")
013 public class JAWT_Rectangle extends StructObject {
014 @Field(0)
015 public int x() {
016 return this.io.getIntField(this, 0);
017 }
018 @Field(1)
019 public int y() {
020 return this.io.getIntField(this, 1);
021 }
022 @Field(2)
023 public int width() {
024 return this.io.getIntField(this, 2);
025 }
026 @Field(3)
027 public int height() {
028 return this.io.getIntField(this, 3);
029 }
030 }