Back to Seed Clases

cairo


Classes

Interfaces

Structs

Unions

Enums

Struct cairo.Context

Import line: cairo = imports.gi.cairo;
GIR File: cairo-1.0.gir
C documentation: cairoContext
Struct : Context
  Show / Hide Inherited methods, properties and signals
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter
Method
Clutter.cairo_set_source_color (Context cr, Color color) : none
Utility function for setting the source color of cr using a ClutterColor.
Clutter.CairoTexture
Method
create_region (Number x_offset, Number y_offset, Number width, Number height) : cairo.Context
Creates a new Cairo context that will updat the region defined by x_offset, y_offset, width and height.
Clutter.CairoTexture
Method
create () : cairo.Context
Creates a new Cairo context for the cairo texture.
Clutter.Path
Method
to_cairo_path (Context cr) : none
Add the nodes of the ClutterPath to the path in the Cairo context.
Everything
Method
Everything.test_cairo_context_full_return () : cairo.Context
Everything
Method
Everything.test_cairo_context_none_in (Context context) : none
Gdk
Method
Gdk.cairo_create (Drawable drawable) : cairo.Context
Creates a Cairo context for drawing to drawable.
Gdk
Method
Gdk.cairo_rectangle (Context cr, Rectangle rectangle) : none
Adds the given rectangle to the current path of cr.
Gdk
Method
Gdk.cairo_region (Context cr, Region region) : none
Adds the given region to the current path of cr.
Gdk
Method
Gdk.cairo_reset_clip (Context cr, Drawable drawable) : none
Resets the clip region for a Cairo context created by gdk_cairo_create().
Gdk
Method
Gdk.cairo_set_source_color (Context cr, Color color) : none
Sets the specified GdkColor as the source color of cr.
Gdk
Method
Gdk.cairo_set_source_pixbuf (Context cr, Pixbuf pixbuf, Number pixbuf_x, Number pixbuf_y) : none
Sets the given pixbuf as the source pattern for the Cairo context.
Gdk
Method
Gdk.cairo_set_source_pixmap (Context cr, Pixmap pixmap, Number pixmap_x, Number pixmap_y) : none
Sets the given pixmap as the source pattern for the Cairo context.
GooCanvas.Canvas
Method
GooCanvas.Canvas.create_path (Array commands, Context cr) : none
GooCanvas.Canvas
Method
render (Context cr, CanvasBounds bounds, Number scale) : none
GooCanvas.Canvas
Method
create_cairo_context () : cairo.Context
GooCanvas.CanvasItem
Method
get_items_at (Number x, Number y, Context cr, Boolean is_pointer_event, Boolean parent_is_visible, Array found_items) : Array
GooCanvas.CanvasItem
Method
update (Boolean entire_tree, Context cr, CanvasBounds bounds) : none
GooCanvas.CanvasItem
Method
paint (Context cr, CanvasBounds bounds, Number scale) : none
GooCanvas.CanvasItem
Method
get_requested_area (Context cr, CanvasBounds requested_area) : Boolean
GooCanvas.CanvasItem
Method
get_requested_height (Context cr, Number width) : Number
GooCanvas.CanvasItem
Method
allocate_area (Context cr, CanvasBounds requested_area, CanvasBounds allocated_area, Number x_offset, Number y_offset) : none
GooCanvas.CanvasItemSimple
Method
get_path_bounds (Context cr, CanvasBounds bounds) : none
GooCanvas.CanvasItemSimple
Method
user_bounds_to_device (Context cr, CanvasBounds bounds) : none
GooCanvas.CanvasItemSimple
Method
user_bounds_to_parent (Context cr, CanvasBounds bounds) : none
GooCanvas.CanvasItemSimple
Method
check_in_path (Number x, Number y, Context cr, CanvasPointerEvents pointer_events) : Boolean
GooCanvas.CanvasItemSimple
Method
paint_path (Context cr) : none
GooCanvas.CanvasStyle
Method
set_stroke_options (Context cr) : Boolean
GooCanvas.CanvasStyle
Method
set_fill_options (Context cr) : Boolean
Gtk.PrintContext
Method
get_cairo_context () : cairo.Context
Obtains the cairo context that is associated with the GtkPrintContext.
Gtk.PrintContext
Method
set_cairo_context (Context cr, Number dpi_x, Number dpi_y) : none
Sets a new cairo context on a print context.
PangoCairo
Method
PangoCairo.create_context (Context cr) : Pango.Context
Creates a context object set up to match the current transformation and target surface of the Cairo context.
PangoCairo
Method
PangoCairo.create_layout (Context cr) : Pango.Layout
Creates a layout object set up to match the current transformation and target surface of the Cairo context.
PangoCairo
Method
PangoCairo.error_underline_path (Context cr, Number x, Number y, Number width, Number height) : none
Add a squiggly line to the current path in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
PangoCairo
Method
PangoCairo.glyph_string_path (Context cr, Font font, GlyphString glyphs) : none
PangoCairo
Method
PangoCairo.layout_line_path (Context cr, LayoutLine line) : none
Adds the text in PangoLayoutLine to the current path in the specified cairo context.
PangoCairo
Method
PangoCairo.layout_path (Context cr, Layout layout) : none
Adds the text in a PangoLayout to the current path in the specified cairo context.
PangoCairo
Method
PangoCairo.show_error_underline (Context cr, Number x, Number y, Number width, Number height) : none
Draw a squiggly line in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
PangoCairo
Method
PangoCairo.show_glyph_item (Context cr, String text, GlyphItem glyph_item) : none
Draws the glyphs in glyph_item in the specified cairo context, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to pango_cairo_show_glyph_string().
PangoCairo
Method
PangoCairo.show_glyph_string (Context cr, Font font, GlyphString glyphs) : none
Draws the glyphs in glyphs in the specified cairo context.
PangoCairo
Method
PangoCairo.show_layout (Context cr, Layout layout) : none
Draws a PangoLayout in the specified cairo context.
PangoCairo
Method
PangoCairo.show_layout_line (Context cr, LayoutLine line) : none
Draws a PangoLayoutLine in the specified cairo context.
PangoCairo
Method
PangoCairo.update_context (Context cr, Context context) : none
Updates a PangoContext previously created for use with Cairo to match the current transformation and target surface of a Cairo context.
PangoCairo
Method
PangoCairo.update_layout (Context cr, Layout layout) : none
Updates the private PangoContext of a PangoLayout created with pango_cairo_create_layout() to match the current transformation and target surface of a Cairo context.
Poppler.Page
Method
render (Context cairo) : none
Poppler.Page
Method
render_for_printing (Context cairo) : none
Poppler.Page
Method
render_selection (Context cairo, Rectangle selection, Rectangle old_selection, SelectionStyle style, Color glyph_color, Color background_color) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:05 GMT+0800 (HKT)