}
EOLIAN static void
-_ector_gl_buffer_base_size_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *pd, int *w, int *h)
-{
- if (w) *w = pd->generic->w;
- if (h) *h = pd->generic->h;
-}
-
-EOLIAN static void
_ector_gl_buffer_base_vertices_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *pd, double *x, double *y, double *w, double *h)
{
if (x) *x = (double) pd->atlas.x / pd->atlas.w;
is_whole: bool;
}
}
- @property size {
- [[The size in pixels of this image.
-
- If the image is whole, then this is equal to the atlas size.
- ]]
- get {}
- values {
- w: int;
- h: int;
- }
- }
@property vertices {
[[Returns the texture vertices to draw this image with no rotation
}
}
}
- implements {
- }
}