G
Guest
Hi all
You might have heard that Microsoft has published XML Schema for Visio Shapes.I am developing a small app which read from this XML and draw shapes using GDI+.But i am stuck with ellipitical arc .The XML Containes Following data
1. two end points of the arc - ( X1,Y1),(X2,Y2)
2. one control point - (Xc,Yc)
(The control point is best located
about halfway between the beginning
and ending vertices of the arc. Otherwise,
the arc may grow to an extreme size in
order to pass through the control point,
with unpredictable results.)
3. arc's major axis to minor axis ratio
4. arc's major axis' angle with the X axis
But DrawEllipse of GDI+ has different input parameters .Does anybody has a solution or Links to sites having information regarding this.Your help will be greatly appretiated
Thank u
Sivaraj
Expand AllCollapse All
You might have heard that Microsoft has published XML Schema for Visio Shapes.I am developing a small app which read from this XML and draw shapes using GDI+.But i am stuck with ellipitical arc .The XML Containes Following data
1. two end points of the arc - ( X1,Y1),(X2,Y2)
2. one control point - (Xc,Yc)
(The control point is best located
about halfway between the beginning
and ending vertices of the arc. Otherwise,
the arc may grow to an extreme size in
order to pass through the control point,
with unpredictable results.)
3. arc's major axis to minor axis ratio
4. arc's major axis' angle with the X axis
But DrawEllipse of GDI+ has different input parameters .Does anybody has a solution or Links to sites having information regarding this.Your help will be greatly appretiated
Thank u
Sivaraj
Expand AllCollapse All