diff options
author | lecoanet | 2004-03-03 10:16:24 +0000 |
---|---|---|
committer | lecoanet | 2004-03-03 10:16:24 +0000 |
commit | e3bb24569b85ff5fea4dcc3eb10e86ae59608967 (patch) | |
tree | 4a5a104f74812cd7ac1c914c90c5ae51053d767d /generic/Item.h | |
parent | 30852dd99b28fddaef4ac37bfa225da343c6be7e (diff) | |
download | tkzinc-e3bb24569b85ff5fea4dcc3eb10e86ae59608967.zip tkzinc-e3bb24569b85ff5fea4dcc3eb10e86ae59608967.tar.gz tkzinc-e3bb24569b85ff5fea4dcc3eb10e86ae59608967.tar.bz2 tkzinc-e3bb24569b85ff5fea4dcc3eb10e86ae59608967.tar.xz |
Changes to implement a new behavior for -position attribute and local transforms.
Diffstat (limited to 'generic/Item.h')
-rw-r--r-- | generic/Item.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/Item.h b/generic/Item.h index b9367f5..8da80df 100644 --- a/generic/Item.h +++ b/generic/Item.h @@ -262,6 +262,8 @@ typedef struct _ZnItemClassStruct { ZnBool has_anchors; /* 1 if anchors are supported */ char *name; ZnAttrConfig *attr_desc; + int pos_offset; /* Offset of -position attrib, */ + /* if any, -1 otherwise. */ ZnItemInitMethod Init; ZnItemCloneMethod Clone; ZnItemDestroyMethod Destroy; @@ -349,7 +351,7 @@ void ZnInitTransformStack(struct _ZnWInfo *wi); void ZnFreeTransformStack(struct _ZnWInfo *wi); void ZnResetTransformStack(struct _ZnWInfo *wi); void ZnPushTransform(struct _ZnWInfo *wi, struct _ZnTransfo *transfo, - ZnBool compose_scale, ZnBool compose_rot); + ZnPoint *pos, ZnBool compose_scale, ZnBool compose_rot); void ZnPopTransform(struct _ZnWInfo *wi); void ZnInitClipStack(struct _ZnWInfo *wi); void ZnFreeClipStack(struct _ZnWInfo *wi); |