view src/shape_rect.c @ 34:07c523c799f4

Fix bug of relative path command
author Thinker K.F. Li <thinker@branda.to>
date Wed, 06 Aug 2008 01:10:32 +0800
parents d82749f77108
children 581a03196093
line wrap: on
line source

#include <stdio.h>
#include "mb_types.h"
#include "shapes.h"

typedef struct _sh_rect {
    shape_t shape;
    co_aix x, y;
    co_aix rx, ry;
    co_aix d_x, d_y;
    co_aix d_rx, d_ry;
} sh_rect_t;

extern void sh_rect_transform(shape_t *shape) {
    sh_rect_t *rect = (sh_rect_t *)shape;

}