Method
CoglFramebufferdraw_rectangle
Declaration [src]
void
cogl_framebuffer_draw_rectangle (
CoglFramebuffer* framebuffer,
CoglPipeline* pipeline,
float x_1,
float y_1,
float x_2,
float y_2
)
Description [src]
Draws a rectangle to framebuffer
with the given pipeline
state
and with the top left corner positioned at (x_1
, y_1
) and the
bottom right corner positioned at (x_2
, y_2
).
cogl_framebuffer_draw_textured_rectangle()
.
Stability: | Unstable |
Available since: | 1.10 |
Parameters
pipeline |
CoglPipeline |
A |
|
The data is owned by the caller of the function. | |
x_1 |
float |
X coordinate of the top-left corner. |
|
y_1 |
float |
Y coordinate of the top-left corner. |
|
x_2 |
float |
X coordinate of the bottom-right corner. |
|
y_2 |
float |
Y coordinate of the bottom-right corner. |