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 » U++ Library support » Draw, Display, Images, Bitmaps, Icons » how to use non integer coordinates (like OpenGL) with Draw?
Re: how to use non integer coordinates (like OpenGL) with Draw? [message #19351 is a reply to message #11993] Fri, 28 November 2008 13:07 Go to previous message
rylek is currently offline  rylek
Messages: 79
Registered: November 2005
Member
Hi there!

I believe that if you intend to go the 2D CAD way, the Geom module might be of some use to you. The Geom/Draw Plotter object handles affine coordinate transform, the Tool objects (PathTool, AreaTool, MarkTool) can be used to draw some primitive objects using logical (float) coordinates. The PlotterCtrl control in Geom/Ctrl is a generic view control intended exactly for viewing and editation float-based drawing-style data. There is a DragDrop subobject which can be used to implement various mouse operation modes. There are also some murkier areas, like a toolbox for handling geographic coordinate transforms, but perhaps it'll be better to leave that for later. There are also some generic mathematical and computational geometry-related routines like linear equation set solver, complex polygon splitter or Delaunay triangulator. Parts of the stuff don't really belong there and some slowly find their way into Mirek-maintained main trunk Wink.

Regards

Tomas
 
Read Message icon11.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Draw was added to plugin/png.
Next Topic: DrawWin32.cpp: PrintDraw::InitPrinter()
Goto Forum:
  


Current Time: Wed Jun 12 00:58:01 CEST 2024

Total time taken to generate the page: 0.01761 seconds