|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.x11.Resource
gnu.x11.Drawable
public abstract class Drawable
X drawable.
Field Summary | |
---|---|
static int |
COMPLEX
|
static int |
CONVEX
|
static int |
CURSOR
|
int |
height
|
static int |
NONCONVEX
|
static int |
ORIGIN
|
static int |
PREVIOUS
|
static int |
STIPPLE
|
static int |
TILE
|
int |
width
|
Fields inherited from class gnu.x11.Resource |
---|
display, id |
Constructor Summary | |
---|---|
Drawable(Display display)
Create. |
|
Drawable(Display display,
int id)
Intern. |
|
Drawable(int id)
Predefined. |
Method Summary | |
---|---|
void |
arc(GC gc,
Arc arc,
boolean fill)
|
void |
arc(GC gc,
int x,
int y,
int width,
int height,
int angle1,
int angle2,
boolean fill)
|
Size |
best_size(int klass,
int width,
int height)
|
void |
copy_area(Drawable src,
GC gc)
|
void |
copy_area(Drawable src,
GC gc,
int src_x,
int src_y,
int width,
int height,
int dst_x,
int dst_y)
|
void |
copy_plane(Drawable src,
GC gc,
int src_x,
int src_y,
int dst_x,
int dst_y,
int width,
int height,
int bit_plane)
|
void |
fill_poly(GC gc,
Point[] points,
int shape,
int coordinate_mode)
This request will be aggregated. |
void |
horizontal(GC gc,
int x1,
int x2,
int y)
|
void |
image_text(GC gc,
int x,
int y,
java.lang.String s)
|
void |
image_text16(GC gc,
int x,
int y,
java.lang.String s)
|
Data |
image(int x,
int y,
int width,
int height,
int plane_mask,
int format)
|
void |
line(GC gc,
int x1,
int y1,
int x2,
int y2)
|
void |
point(GC gc,
int x,
int y)
|
void |
point(GC gc,
Point point)
|
void |
poly_arc(GC gc,
Arc[] arcs,
boolean fill)
This request will be aggregated. |
void |
poly_dot(GC gc,
Point[] points,
int coordinate_mode,
boolean join)
This request will be aggregated. |
void |
poly_line(GC gc,
Point[] points,
int coordinate_mode)
|
void |
poly_point(GC gc,
Point[] points,
int coordinate_mode)
|
void |
poly_rectangle(GC gc,
Rectangle[] rectangles,
boolean fill)
This request will be aggregated. |
void |
poly_segment(GC gc,
Segment[] segments)
This request will be aggregated. |
void |
poly_text(GC gc,
int x,
int y,
Text[] texts)
|
void |
poly_text16(GC gc,
int x,
int y,
Text[] texts)
|
void |
put_image(GC gc,
Image image,
int x,
int y)
|
void |
put_small_image(GC gc,
Image image,
int y1,
int y2,
int x,
int y)
|
void |
rectangle_clear(GC gc)
|
void |
rectangle(GC gc,
int x,
int y,
int width,
int height,
boolean fill)
|
void |
rectangle(GC gc,
Rectangle rectangle,
boolean fill)
|
void |
segment(GC gc,
int x1,
int y1,
int x2,
int y2)
|
void |
segment(GC gc,
Segment segment)
|
void |
text(GC gc,
int x,
int y,
java.lang.String s)
|
void |
text(GC gc,
int x,
int y,
java.lang.String s,
int delta,
Font font)
|
void |
vertical(GC gc,
int x,
int y1,
int y2)
|
Methods inherited from class gnu.x11.Resource |
---|
unintern |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int width
public int height
public static final int ORIGIN
public static final int PREVIOUS
public static final int COMPLEX
public static final int NONCONVEX
public static final int CONVEX
public static final int CURSOR
public static final int TILE
public static final int STIPPLE
Constructor Detail |
---|
public Drawable(int id)
public Drawable(Display display)
public Drawable(Display display, int id)
Method Detail |
---|
public void copy_area(Drawable src, GC gc, int src_x, int src_y, int width, int height, int dst_x, int dst_y)
public void copy_plane(Drawable src, GC gc, int src_x, int src_y, int dst_x, int dst_y, int width, int height, int bit_plane)
public void poly_dot(GC gc, Point[] points, int coordinate_mode, boolean join)
coordinate_mode
- valid:
ORIGIN
,
PREVIOUS
join
- if join, draw line; otherwise, draw pointaggregation
public void poly_segment(GC gc, Segment[] segments)
aggregation
public void poly_rectangle(GC gc, Rectangle[] rectangles, boolean fill)
aggregation
public void poly_arc(GC gc, Arc[] arcs, boolean fill)
aggregation
public void fill_poly(GC gc, Point[] points, int shape, int coordinate_mode)
shape
- valid:
COMPLEX
,
NONCONVEX
,
CONVEX
coordinate_mode
- valid:
ORIGIN
,
PREVIOUS
aggregation
public void put_small_image(GC gc, Image image, int y1, int y2, int x, int y)
public Data image(int x, int y, int width, int height, int plane_mask, int format)
public void poly_text(GC gc, int x, int y, Text[] texts)
public void poly_text16(GC gc, int x, int y, Text[] texts)
public void image_text(GC gc, int x, int y, java.lang.String s)
public void image_text16(GC gc, int x, int y, java.lang.String s)
public Size best_size(int klass, int width, int height)
klass
- valid:
CURSOR
,
TILE
,
STIPPLE
public void arc(GC gc, Arc arc, boolean fill)
poly_arc(GC, Arc[], boolean)
public void arc(GC gc, int x, int y, int width, int height, int angle1, int angle2, boolean fill)
arc(GC, Arc, boolean)
public void copy_area(Drawable src, GC gc)
copy_area(Drawable, GC, int, int, int, int, int, int)
public void horizontal(GC gc, int x1, int x2, int y)
line(GC, int, int, int, int)
public void line(GC gc, int x1, int y1, int x2, int y2)
segment(GC, Segment)
public void point(GC gc, Point point)
poly_dot(GC, Point[], int, boolean)
public void point(GC gc, int x, int y)
point(GC, Point)
public void poly_line(GC gc, Point[] points, int coordinate_mode)
poly_dot(GC, Point[], int, boolean)
public void poly_point(GC gc, Point[] points, int coordinate_mode)
poly_dot(GC, Point[], int, boolean)
public void put_image(GC gc, Image image, int x, int y)
put_small_image(GC, Image, int, int, int, int)
public void rectangle(GC gc, Rectangle rectangle, boolean fill)
poly_rectangle(GC, Rectangle[], boolean)
public void rectangle(GC gc, int x, int y, int width, int height, boolean fill)
rectangle(GC, Rectangle, boolean)
public void rectangle_clear(GC gc)
rectangle(GC, int, int, int, int, boolean)
public void vertical(GC gc, int x, int y1, int y2)
line(GC, int, int, int, int)
public void segment(GC gc, Segment segment)
poly_segment(GC, Segment[])
public void segment(GC gc, int x1, int y1, int x2, int y2)
segment(GC, Segment)
public void text(GC gc, int x, int y, java.lang.String s, int delta, Font font)
poly_text(GC, int, int, Text[])
public void text(GC gc, int x, int y, java.lang.String s)
text(GC, int, int, String, int, Font)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |