Added API to generate a MeshData object for a Dali::Path object 45/35545/2
authorFerran Sole <ferran.sole@samsung.com>
Tue, 17 Feb 2015 11:45:51 +0000 (11:45 +0000)
committerFerran Sole <ferran.sole@samsung.com>
Mon, 2 Mar 2015 15:41:01 +0000 (07:41 -0800)
commita8d7201f2f245b4dc91cebf974d7074b4d4197d4
treee182b208e5d9b8ad9e1ff14a095c62fb4c24cc97
parent6fc4471cc7772729baaa580aa8a99a6bd39f8f51
Added API to generate a MeshData object for a Dali::Path object

The method aproximates the path by sampling at regular intervals and
connecting each sampled point to the next sample with a line.

Change-Id: Ia32751f4b5e9b55d679a7dd2c1592d12e566c52a
dali/public-api/geometry/mesh-factory.cpp
dali/public-api/geometry/mesh-factory.h