forked from enlightenment/efl
f3eff6eb3e
It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature |
||
---|---|---|
.. | ||
shader | ||
Ector_GL.h | ||
ector_gl_buffer.c | ||
ector_gl_buffer.eo | ||
ector_gl_private.h | ||
ector_gl_shader.c | ||
ector_gl_surface.c | ||
ector_gl_surface.eo | ||
ector_renderer_gl.c | ||
ector_renderer_gl.eo | ||
ector_renderer_gl_gradient_linear.c | ||
ector_renderer_gl_gradient_linear.eo | ||
ector_renderer_gl_gradient_radial.c | ||
ector_renderer_gl_gradient_radial.eo | ||
ector_renderer_gl_shape.c | ||
ector_renderer_gl_shape.eo |