Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > improve perform...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 911 of 1002
Post > Topic >>

improve performance while drawing

by gamiravi.d@[EMAIL PROTECTED] Sep 26, 2007 at 03:40 AM

Hi ,
               Currently i am trying to improve performance of my
window while drawing on that window.i am storing my each points into
one buffer on mouse down and mouse move event.and after that i am
calling [self setNeedDisplay:YES] method from mouseDown and
mouseDragged functions.

                Now after lots of stroke getting stored into buffer
drawing speed is reduced by large amount of time.As a solution i think
of [self setNeedDisplayInRect:rect] method . whenever i try to draw
using this method my view area is getting flicker and my all stroke
are get flickered.

               can anyone help me for this problem? or what could be
the reason for that. Thanks in advance.



Ravi.
 




 1 Posts in Topic:
improve performance while drawing
gamiravi.d@[EMAIL PROTECT  2007-09-26 03:40:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 1:46:59 CDT 2008.