adding to CXTPMarkupPointCollection |
Post Reply |
Author | |
BobWansink
Groupie Joined: 24 January 2008 Status: Offline Points: 59 |
Post Options
Thanks(0)
Posted: 07 January 2009 at 9:41am |
Hi all,
I was wondering how I might be able to add points to a pointcollection. I've been able to extract one from a CXTPMarkupPolyline * and now I'd like to be able to add points to it. That would make our charting unbelievable versatile! As a backup, I might be able to add 30 or so points to it, all placed at 0 0 and edit them to point them somewhere else: 10 10, 12 10, 12 20, 60 21, 60 21, 60 21....... but I would prefer to be able to add and remove points on the fly... Thanks in advance! Bob |
|
Product: Xtreme ToolkitPro (MFC) version 13.0.0
Platform: Windows (32bit) - XP - Vista Language: Visual C++ |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You can use its constructor:
CXTPMarkupPointCollection(CPointArray& arr)
create CXTPMarkupPointCollection::CPointArray arr;
add all points to "arr" and create new CXTPMarkupPointCollection(arr);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |