From acfaeba077cc4debbbbb7c7ac625ebe6bda7df9c Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Wed, 28 Oct 2009 23:04:15 +0100 Subject: [PATCH] [ADG] Added AdgProjectionScheme A new enumeration to specify how the possible options of the projection scheme. It will be used by the the entity showing this specific symbol, yet to be implemented. --- adg/adg-enums.c | 15 +++++++++++++++ adg/adg-enums.h | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/adg/adg-enums.c b/adg/adg-enums.c index d8ada645..c6ccaef2 100644 --- a/adg/adg-enums.c +++ b/adg/adg-enums.c @@ -89,3 +89,18 @@ * should be combined to get a matrix. This is usually used by the * adg_entity_local_matrix() method to get the local matrix. **/ + +/** + * AdgProjectionScheme: + * + * ADG_PROJECTION_UNDEFINED: there is a single view or the views are not + * related with a consistent scheme + * ADG_PROJECTION_FIRST_ANGLE: the views are generated as if the object were + * sitting on the paper and, from the front view, + * it is rolled to the right to show the left + * side or rolled up to show its bottom + * ADG_PROJECTION_THIRD_ANGLE: the views are generated as if the object were + * a box to be unfolded + * + * Specifies how the views are positioned relative to each other. + **/ diff --git a/adg/adg-enums.h b/adg/adg-enums.h index 31555369..f28268e2 100644 --- a/adg/adg-enums.h +++ b/adg/adg-enums.h @@ -50,6 +50,12 @@ typedef enum { ADG_MIX_PARENT_NORMALIZED } AdgMixMethod; +typedef enum { + ADG_PROJECTION_UNDEFINED, + ADG_PROJECTION_FIRST_ANGLE, + ADG_PROJECTION_THIRD_ANGLE +} AdgProjectionScheme; + G_END_DECLS -- 2.11.4.GIT