quote:
Originally posted by couturier
Interesting.
Played a bit with the options but looks like all the objects are joined together, so no possibility to edit/delete them separately afterwards.
Thanks anyway
void create_line_objects()
{
vector<double> vxPos = {1.0,3.5,3.5,1.5,1.5, 1,4, 2,2, 1,4, 3,3};
vector<double> vyPos = {2.5,2.5,0.5,0.5,3.0, 1,1, 0,3, 2,2, 0,3};
vector<uint> vShapeIndex = {0, 5, 7, 9, 11};
vector<uint> vBlockIndex = {0, 1, 2, 3, 4};
GraphPage gp;
gp.Create();
GraphLayer gl;
gl = gp.Layers();
gl.CreateShapeGraphObjects(vxPos, vyPos, vShapeIndex, vBlockIndex, "lines", 0, CPO_POLYLINE);
}
©c¡Ï ¤È¥¹ ©f¨u©c ©c¥ì ¥Î¤³ ©c/ ©¦£¯
©c¨Ê¥Î ¤´¥¨ ¥ó ¨× ¥ó¤á' ¥Ì©¦¥ /¤í ¥Õ©¦©f
¨Ö ¦á ©¦£þ ©` ¥Õ ©¦
©¦