drawrect
Does setNeedsDisplay have immediate effect or it is merely queued for later?
Does anybody here know whether setNeedsDisplay results in an immediate drawRect call and immediate updatin开发者_运维知识库g of the screen?[详细]
2023-03-30 16:31 分类:问答Core Graphics- drawRect: not getting called frequently enough
In my application, I have a UIViewController with a subclassed UIView (and several other elements) inside of it. Inside of the UIView, called DrawView, in my drawRect: method, I draw a table grid type[详细]
2023-03-26 16:00 分类:问答drawRect not getting called when needed under OS X
I am using a window that uses a subclass of NSView.Part of it is drawn when the program starts, another part needs to be drawn when the user clicks on a button in another window.The code for the other[详细]
2023-03-22 06:45 分类:问答Does drawRect: automatically check whether something is within the bounds of the CGRect passed to it?
I\'m wondering whether I need to check if something is within the bounds of the CGRect passed to drawRect:, or if drawRect: automatically handles that for me.[详细]
2023-03-22 05:23 分类:问答iOS: Standard rules to follow when implementing drawRect: with draggable objects
My app allows the user to drag circles around on a screen. I\'m wondering whether there are any standard steps to take in order to implement this, especially in regards to marking the correct areas of[详细]
2023-03-22 05:04 分类:问答crash at drawInRect:rect, I've the solution but don't know how?
The app works fine with the iphone 开发者_开发问答simulator but when we run it in the actual iphone device it crashes at the following line:[详细]
2023-03-21 19:12 分类:问答How to use drawRect to draw in a existing view?
I\'m doing a GPS tracking app. Every time it receives a Latitude/Longitude it converts it to (x,y) coordinates and calls drawRect to draw a line between two (x,y) pairs.[详细]
2023-03-20 17:31 分类:问答Multiple draw requests dynamically iPhone
I\'m attempting to make guider/tip boxes for the iPhone as part of a tutorial framework i\'m making. I\'ve followed and combined two codes i\'ve found here:[详细]
2023-03-18 13:44 分类:问答iPhone SDK UIView drawRect and orientation change
I\'ve wrote this code... plotView is drawn programmatically by drawRect method... the problem is when I change the device orientation... all the views are not scaled properly... what\'s the matter wit[详细]
2023-03-16 19:56 分类:问答CGPath occupying more memory
This is a very much daunting challenge I have ever faced. Im drawing lines when the finger is moved. The lines are created such that they bypass the imageviewspresnt in my drawingview. I`m using below[详细]
2023-03-16 15:19 分类:问答