Class: Gdk::DrawingContext
- Inherits:
-
Object
- Object
- Gdk::DrawingContext
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#cairo_context ⇒ cairo::Context
Retrieves a Cairo context to be used to draw on the Gdk::Window that created the Gdk::DrawingContext.
-
#clip ⇒ cairo::Region
The clip region applied to the drawing context.
-
#clip=(clip) ⇒ cairo::Region
The clip region applied to the drawing context.
-
#is_valid ⇒ TrueClass
Checks whether the given Gdk::DrawingContext is valid.
-
#window ⇒ Gdk::Window
The Gdk::Window that created the drawing context.
-
#window=(window) ⇒ Gdk::Window
The Gdk::Window that created the drawing context.
Instance Method Details
#cairo_context ⇒ cairo::Context
Retrieves a Cairo context to be used to draw on the Gdk::Window that created the Gdk::DrawingContext.
The returned context is guaranteed to be valid as long as the Gdk::DrawingContext is valid, that is between a call to gdk_window_begin_draw_frame() and gdk_window_end_draw_frame().
#clip ⇒ cairo::Region
The clip region applied to the drawing context.
#clip=(clip) ⇒ cairo::Region
The clip region applied to the drawing context.
#is_valid ⇒ TrueClass
Checks whether the given Gdk::DrawingContext is valid.
#window ⇒ Gdk::Window
The Gdk::Window that created the drawing context.
#window=(window) ⇒ Gdk::Window
The Gdk::Window that created the drawing context.