drawrect
How can I fill a rect with an alpha color using CoreGraphics?
In my drawRect method, I am drawing a PNG image. On top of that, I want to draw a rect with a 20% alpha color, like this:[详细]
2023-01-01 06:22 分类:问答Custom UITableviewcell, CGGradient still shows when cell is selected?
I\'m using a custom tableview cell (like Tweetie\'s fast scrolling) i\'ve added a gradient to the context, which looks really nice, but when I select the cell, the gradient is still visible. I\'m not[详细]
2022-12-31 12:24 分类:问答iPhone NSString drawAtPoint linebreakmodeWordWrap
Since I had a very slow scrolling tableViewI\'m now trying to catch up with the direct draw method, similiar to the Tweetie App sample or Apples TableViewSuite code.[详细]
2022-12-31 11:10 分类:问答why drawRect method is not being called?
#import <UIKit/UIKit.h> @interface quartzViewController : UIViewController开发者_JAVA百科 {[详细]
2022-12-30 09:34 分类:问答EXC_BAD_ACCESS in drawRect
The code below \"sometimes\" causes a crash (EXC_BAD_ACCESS) when run on the device. Never on the simulator.[详细]
2022-12-30 08:40 分类:问答iPhone - setNeedsDisplay doesn't call drawRect
I have seen many posts about this problem but didn\'t get an answer. I have a controller which view is added to the main window. The controller\'s view has a subview which has a drawRect. The prob开发[详细]
2022-12-28 13:43 分类:问答UIView drawRect: when you draw a line, the rect area will be clear so the previous drawing is gone
It is quite hard to tell so I upload an image to show my problem: http://i42.tinypic.com/2eezamo.jpg Basically in drawRect, I will draw the line from touchesMoved as finger touches and I will call \"[详细]
2022-12-28 08:17 分类:问答Flex/Actionscript image display problem
I\'m trying to extend the Image class but hit a problem that I can\'t get past. I have a private image (img) that loads an image and a function that takes that image and copies it onto the parent.[详细]
2022-12-27 06:33 分类:问答iPhone CALayer Stacking Order
I\'m usin开发者_开发问答g CALayers to draw to a UITableViewCell.I\'m trying to figure out how layers are ordered with the content of the UITableViewCell.For instance:[详细]
2022-12-25 10:39 分类:问答draw line over uilable after loading from nib
here is my code CGContextRef c = UIG开发者_如何学编程raphicsGetCurrentContext(); CGContextBeginPath(c);[详细]
2022-12-25 07:40 分类:问答