Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to implent a rubber band Class in u++
Re: How to implent a rubber band Class in u++ [message #17296 is a reply to message #17291] |
Wed, 06 August 2008 00:29   |
|
luzr wrote on Tue, 05 August 2008 20:54 |
tojocky wrote on Tue, 05 August 2008 11:37 |
luzr wrote on Tue, 05 August 2008 16:44 | The problem is
iw.DrawDrawing(0, 0, old_size.cx, old_size.cy, resultpaint);
creates very deep recursion in Drawing definition (other drawing within drawin is stored as operation). That results in slow speed and huge VM.
Mirek
|
What another method will be more faster than DrawDrawing? May be DrawImage?
|
You are limited here by the speed of DrawLine.
Anyway, 3000 points sounds like quite a lot for rubber-band. Maybe you could try to simplifify it a bit?
Mirek
|
I want to understand how can I optimized in drawing and to use in future! In future I can have a control that Paint will have more operations and will be more optimized to save image and set it in Paint method.
[Updated on: Wed, 06 August 2008 00:31] Report message to a moderator
|
|
|
 |
|
How to implent a rubber band Class in u++
|
 |
|
Re: How to implent a rubber band Class in u++
By: mrjt on Thu, 25 October 2007 16:44
|
 |
|
Re: How to implent a rubber band Class in u++
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Mon, 07 July 2008 18:35
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Fri, 25 July 2008 20:02
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Sat, 26 July 2008 12:03
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Sat, 26 July 2008 16:18
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Sat, 26 July 2008 16:49
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Sat, 26 July 2008 22:45
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Sun, 27 July 2008 01:02
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Fri, 01 August 2008 08:53
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Fri, 01 August 2008 22:33
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Sat, 02 August 2008 09:49
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Mon, 04 August 2008 18:56
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Mon, 04 August 2008 19:39
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Mon, 04 August 2008 22:33
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Tue, 05 August 2008 15:44
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Tue, 05 August 2008 17:37
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Tue, 05 August 2008 19:54
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Wed, 06 August 2008 00:29
|
 |
|
Re: How to implent a rubber band Class in u++
By: mirek on Wed, 06 August 2008 08:34
|
 |
|
Re: How to implent a rubber band Class in u++
By: mrjt on Wed, 06 August 2008 11:04
|
 |
|
Re: How to implent a rubber band Class in u++
By: tojocky on Sat, 09 August 2008 18:43
|
Goto Forum:
Current Time: Tue Jun 10 14:23:27 CEST 2025
Total time taken to generate the page: 0.02996 seconds
|