Method
ClutterStageread_pixels
Declaration [src]
guchar*
clutter_stage_read_pixels (
  ClutterStage* stage,
  gint x,
  gint y,
  gint width,
  gint height
)
Description [src]
Makes a screenshot of the stage in RGBA 8bit data, returns a
linear buffer with width * 4 as rowstride.
The alpha data contained in the returned buffer is driver-dependent, and not guaranteed to hold any sensible value.
Parameters
- x
- 
            Type: gintX coordinate of the first pixel that is read from stage. 
- y
- 
            Type: gintY coordinate of the first pixel that is read from stage. 
- width
- 
            Type: gintWidth dimension of pixels to be read, or -1 for the entire stage width. 
- height
- 
            Type: gintHeight dimension of pixels to be read, or -1 for the entire stage height.