Method
ClutterStageget_capture_final_size
Declaration [src]
gboolean
clutter_stage_get_capture_final_size (
ClutterStage* stage,
cairo_rectangle_int_t* rect,
int* out_width,
int* out_height,
float* out_scale
)
Description [src]
Get the size of the framebuffer one must pass to
clutter_stage_paint_to_buffer()
or clutter_stage_paint_to_framebuffer()
would be used with the same rect
.
Parameters
rect |
cairo_rectangle_int_t |
A #cairo_rectangle_int_t. |
|
The data is owned by the caller of the function. | |
out_width |
int* |
The final width. |
|
The argument will be set by the function. | |
The argument can be NULL . | |
out_height |
int* |
The final height. |
|
The argument will be set by the function. | |
The argument can be NULL . | |
out_scale |
float* |
The final scale factor. |
|
The argument will be set by the function. | |
The argument can be NULL . |