X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Frendering%2Fgeometry.h;h=2c9780b5c64716645a752e1e02b55873cd93c5e7;hb=800a97fbc97bfe7e64994c318d56ef8e097c7504;hp=14ecb117e3e58f7dce01d1711d88a9f9b55ed763;hpb=4ca95a150b05032a3d42faa44252227f8cc7c556;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/rendering/geometry.h b/dali/public-api/rendering/geometry.h index 14ecb11..2c9780b 100644 --- a/dali/public-api/rendering/geometry.h +++ b/dali/public-api/rendering/geometry.h @@ -45,17 +45,17 @@ public: /** * @brief Describes the type of geometry, used to determine how the coordinates will be used. - * @SINCE_1_1.43 + * @SINCE_1_1.45 */ - enum GeometryType + enum Type { - POINTS, ///< Individual points @SINCE_1_1.43 - LINES, ///< Individual lines (made of 2 points each) @SINCE_1_1.43 - LINE_LOOP, ///< A strip of lines (made of 1 point each) which also joins the first and last point @SINCE_1_1.43 - LINE_STRIP, ///< A strip of lines (made of 1 point each) @SINCE_1_1.43 - TRIANGLES, ///< Individual triangles (made of 3 points each) @SINCE_1_1.43 - TRIANGLE_FAN, ///< A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point) @SINCE_1_1.43 - TRIANGLE_STRIP ///< A strip of triangles (after the first triangle, following triangles need only 1 point) @SINCE_1_1.43 + POINTS, ///< Individual points @SINCE_1_1.45 + LINES, ///< Individual lines (made of 2 points each) @SINCE_1_1.45 + LINE_LOOP, ///< A strip of lines (made of 1 point each) which also joins the first and last point @SINCE_1_1.45 + LINE_STRIP, ///< A strip of lines (made of 1 point each) @SINCE_1_1.45 + TRIANGLES, ///< Individual triangles (made of 3 points each) @SINCE_1_1.45 + TRIANGLE_FAN, ///< A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point) @SINCE_1_1.45 + TRIANGLE_STRIP ///< A strip of triangles (after the first triangle, following triangles need only 1 point) @SINCE_1_1.45 }; @@ -152,7 +152,7 @@ public: * @SINCE_1_1.43 * @param[in] geometryType Type of primitives this geometry contains */ - void SetGeometryType( GeometryType geometryType ); + void SetType( Type geometryType ); /** * @brief Get the type of primitives this geometry contains @@ -161,7 +161,7 @@ public: * @SINCE_1_1.43 * @return Type of primitives this geometry contains */ - GeometryType GetGeometryType() const; + Type GetType() const; public: