Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: how to implement multiple graphic devices...



Permlink Replies: 0
Filippo Forlani

Posts: 17
Registered: 7/23/99
how to implement multiple graphic devices...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 15, 2014 2:33 AM
Hello,
I am going to create:
- a list of graphics objects, starting from primitives like point, line, polyline etc. (TGrObj);
- a list of objects that provide different device contests, like googleearth, autocad, glsceneviewers, bitmap canvas etc. (TGrDevice)
and I would like to decide to which graphic device draw objects, independetly, something like: TGrObj.drawto(TGrDevice) or TGrDevice.drawlist(list of TGrObj)....

I would appreciate hints to do it efficiently and enough "independently".
(I should use interfaces? if yes.. how?)

thanks in advance,
Filippo
______________________
Filippo Forlani
www.filippoforlani.org
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02