org.gnu.gdk

Class GdkCairo


public class GdkCairo
extends Context

END OF GENERATED CODE

Constructor Summary

GdkCairo(Drawable drawable)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Method Summary

void
rectangle(Rectangle rect)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
void
region(Region reg)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
void
setSourceColor(Color color)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
void
setSourcePixbuf(Pixbuf pixbuf, double pixbufX, double pixbufY)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Constructor Details

GdkCairo

public GdkCairo(Drawable drawable)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Create a cairo Context from drawing to the Drawable.
Parameters:
drawable -

Method Details

rectangle

public void rectangle(Rectangle rect)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Adds the given rectangle to the current path.

region

public void region(Region reg)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Adds the given region to the current path.

setSourceColor

public void setSourceColor(Color color)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Sets the specified color as the source color of the cairo Context.
Parameters:
color -

setSourcePixbuf

public void setSourcePixbuf(Pixbuf pixbuf,
                            double pixbufX,
                            double pixbufY)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Sets the given pixbuf as the source pattern for the cairo Context. The pattern has an extend mode of NONE and is aligned so that the origin of pixbuf is pixbufX, pixbufY.
Parameters:
pixbuf -
pixbufX -
pixbufY -