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 » Draw/Paint speed slow
Draw/Paint speed slow [message #39112] Sat, 16 February 2013 10:30 Go to previous message
deep is currently offline  deep
Messages: 227
Registered: July 2011
Location: Bangalore
Experienced Member
Hi,

I am making spirograph ( Epitrochoid/Hypotrochoid curves) drawing app. Paint derived from Examples/PainterExamples.

I have attached the project.

To draw spirograph with 12300 path points my routine take approximately 500 ms.

Want some suggestions to improve speed of draw.

I want to show animation like this

http://en.wikipedia.org/wiki/File:EpitrochoidOn3-generation. gif

Logged time data

Prepare S : 17183790
Prepare E : 17183790

Time paint0 start : 17183806
Time paint0 end  : 17185335

 Path points : 12313

Draw Image S : 17185335
Draw Image E : 17185350
  • Attachment: GeoFun.7z
    (Size: 2.73KB, Downloaded 177 times)


Warm Regards

Deepak
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Crash in Painter
Next Topic: ScatterDraw/ScatterCtrl new features
Goto Forum:
  


Current Time: Thu Feb 25 12:07:48 CET 2021

Total time taken to generate the page: 0.01344 seconds