Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22884 is a reply to message #22818] Mon, 24 August 2009 19:28 Go to previous messageGo to previous message
pveach1 is currently offline  pveach1
Messages: 10
Registered: August 2009
Promising Member

I would like to see this project expanded into a general charting library. It has a lot of potential especially when combined with the new headless drawing capabilities.

Google has an online charting service. But if they change it, a lot of programs will break.

One of the more confusing things is setting coordinate transformation/translation. I am currently using Win32 API to set xformations. Like this:
XFORM xm_  = { 1, 0, 0, -1, FLOAT(size.cx -100), FLOAT(Offset + size.cy+50)};		
HDC hdc = w.GetHandle();
SetGraphicsMode ( hdc, GM_ADVANCED );
SetWorldTransform ( hdc, & xm );
// do something
SetWorldTransform ( hdc, & xm_default ) ; // restore coordinates



This is only valid for WIN2k or later.

I am unsure how U++ draw does xforms.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Splash Screen for Your applications!
Next Topic: String near match algorithm
Goto Forum:
  


Current Time: Sun Apr 28 22:40:20 CEST 2024

Total time taken to generate the page: 0.05431 seconds