org.gnu.gdk
Class GdkCairo
public class GdkCairo
extends Context
GdkCairo(Drawable drawable) - Create a cairo Context from drawing to the Drawable.
|
void | rectangle(Rectangle rect) - Adds the given rectangle to the current path.
|
void | region(Region reg) - Adds the given region to the current path.
|
void | setSourceColor(Color color) - Sets the specified color as the source color of the cairo Context.
|
void | setSourcePixbuf(Pixbuf pixbuf, double pixbufX, double pixbufY) - Sets the given pixbuf as the source pattern for the cairo Context.
|
GdkCairo
public GdkCairo(Drawable drawable)
Create a cairo Context from drawing to the Drawable.
rectangle
public void rectangle(Rectangle rect)
Adds the given rectangle to the current path.
region
public void region(Region reg)
Adds the given region to the current path.
setSourceColor
public void setSourceColor(Color color)
Sets the specified color as the source color of the cairo Context.
setSourcePixbuf
public void setSourcePixbuf(Pixbuf pixbuf,
double pixbufX,
double pixbufY)
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.
pixbuf
- pixbufX
- pixbufY
-