| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- DEFINITION MODULE FOR "C" GskRoundedRect ;
- (*
- m2-GTK4 - GskRoundedRect: a rounded rectangle with four corner sizes.
- Mapped onto <gsk/gskroundedrect.h>.
- *)
- FROM SYSTEM IMPORT ADDRESS;
- EXPORT UNQUALIFIED
- GskRoundedRect,
- gsk_rounded_rect_contains_point,
- gsk_rounded_rect_contains_rect,
- gsk_rounded_rect_init,
- gsk_rounded_rect_init_copy,
- gsk_rounded_rect_init_from_rect,
- gsk_rounded_rect_intersects_rect,
- gsk_rounded_rect_is_rectilinear,
- gsk_rounded_rect_normalize,
- gsk_rounded_rect_offset,
- gsk_rounded_rect_shrink;
- TYPE
- GskRoundedRect = ADDRESS;
- (* gboolean gsk_rounded_rect_contains_point(const GskRoundedRect *self, const graphene_point_t *point) *)
- PROCEDURE gsk_rounded_rect_contains_point (self: GskRoundedRect; point: ADDRESS) : INTEGER;
- (* gboolean gsk_rounded_rect_contains_rect(const GskRoundedRect *self, const graphene_rect_t *rect) *)
- PROCEDURE gsk_rounded_rect_contains_rect (self: GskRoundedRect; rect: ADDRESS) : INTEGER;
- (* GskRoundedRect *gsk_rounded_rect_init(GskRoundedRect *self, const graphene_rect_t *bounds, const graphene_size_t *top_left, const graphene_size_t *top_right, const graphene_size_t *bottom_right, const graphene_size_t *bottom_left) *)
- PROCEDURE gsk_rounded_rect_init (self: GskRoundedRect; bounds: ADDRESS; top_left: ADDRESS; top_right: ADDRESS; bottom_right: ADDRESS; bottom_left: ADDRESS) : ADDRESS;
- (* GskRoundedRect *gsk_rounded_rect_init_copy(GskRoundedRect *self, const GskRoundedRect *src) *)
- PROCEDURE gsk_rounded_rect_init_copy (self: GskRoundedRect; src: GskRoundedRect) : ADDRESS;
- (* GskRoundedRect *gsk_rounded_rect_init_from_rect(GskRoundedRect *self, const graphene_rect_t *bounds, float radius) *)
- PROCEDURE gsk_rounded_rect_init_from_rect (self: GskRoundedRect; bounds: ADDRESS; radius: SHORTREAL) : ADDRESS;
- (* gboolean gsk_rounded_rect_intersects_rect(const GskRoundedRect *self, const graphene_rect_t *rect) *)
- PROCEDURE gsk_rounded_rect_intersects_rect (self: GskRoundedRect; rect: ADDRESS) : INTEGER;
- (* gboolean gsk_rounded_rect_is_rectilinear(const GskRoundedRect *self) *)
- PROCEDURE gsk_rounded_rect_is_rectilinear (self: GskRoundedRect) : INTEGER;
- (* GskRoundedRect *gsk_rounded_rect_normalize(GskRoundedRect *self) *)
- PROCEDURE gsk_rounded_rect_normalize (self: GskRoundedRect) : ADDRESS;
- (* GskRoundedRect *gsk_rounded_rect_offset(GskRoundedRect *self, float dx, float dy) *)
- PROCEDURE gsk_rounded_rect_offset (self: GskRoundedRect; dx: SHORTREAL; dy: SHORTREAL) : ADDRESS;
- (* GskRoundedRect *gsk_rounded_rect_shrink(GskRoundedRect *self, float top, float right, float bottom, float left) *)
- PROCEDURE gsk_rounded_rect_shrink (self: GskRoundedRect; top: SHORTREAL; right: SHORTREAL; bottom: SHORTREAL; left: SHORTREAL) : ADDRESS;
- END GskRoundedRect.
|