org.gnu.gdk
public class GdkCairo extends Context
Constructor Summary | |
---|---|
GdkCairo(Drawable drawable)
Create a cairo Context from drawing to the Drawable.
|
Method Summary | |
---|---|
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. |
Parameters: drawable
Parameters: color
Parameters: pixbuf pixbufX pixbufY