Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Drawing / May 2004

Tip: Looking for answers? Try searching our database.

Relative coordinate system in GDI+ ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 31 May 2004 02:59 GMT
Does GDI+ have the ability to retain a sub-coordinate system?  For example,
say I create a triangle spaceship through a graphics path with the ship
pointing in the direction of the x-axis.  Then I rotate that ship slightly.
Then I want to translate the ship forward (no longer parallel to the
x-axis).  Do I have to manually calculate the translation or does GDI+
provide a sub-coordinate system so that I can just add 1 unit of distance to
the spaceship's x coordinate.

Thanks!
Chris
Bob Powell [MVP] - 31 May 2004 12:17 GMT
You have to calculate the position yourself.

Signature

Bob Powell [MVP]
Visual C#, System.Drawing

Image transition effects, snap-to-grid and Layered Windows are
all discussed in May's edition of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml

> Does GDI+ have the ability to retain a sub-coordinate system?  For example,
> say I create a triangle spaceship through a graphics path with the ship
[quoted text clipped - 6 lines]
> Thanks!
> Chris

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.