quartz-graphics
ImageQuality with CGContextSetInterpolationQuality
How effective is the CGContextSetInterpolationQuality method in Quartz? Doe开发者_运维技巧s it affect the quality of the image? If so, to what extent?[详细]
2023-02-25 01:14 分类:问答Repeat a semi-transparent NSImage
In a project I\'m working on, I have 3 images: top, middle, and bottom. Top and bottom are fixed height, and middle should be repeated in between the two. (The window size will be changing.) They all[详细]
2023-02-24 21:39 分类:问答Why does drawRect scroll slower than UIImageView for large images in custom UITableViewCell
I have a custom UITableViewCell modelled exactly from the custom UITableViewCell tutorials found here -[详细]
2023-02-24 06:03 分类:问答Iphone 2D app suggestion
I need to develop a Iphone 2D app for school project. I don\'t have object C and C++ background. I just go through the Iphone App develop process on-line. Any suggestions to quickly build a 2D iphone[详细]
2023-02-21 21:14 分类:问答How to create a clipping mask from an NSAttributedString?
I have an NSAttributedString which I would like to draw into a CGImage so that I can later draw the CGImage into an NSView. Here\'s what I have so far:[详细]
2023-02-21 09:50 分类:问答How do I create a smoke effect on the iPhone based on the microphone input?
Hello I want to make something l开发者_运维技巧ike \"smoke simulator\" using iPhone mic. What is the best and easiest way for doing this? Quartz2D OpenGL or something else?Take a look at cocos2D if yo[详细]
2023-02-21 05:02 分类:问答CGWindowListCopyWindowInfo, kCGWindowLayer and window level
The CGWindowLeve开发者_如何学Pythonl.h file defines the constants that are used to set the window level and the largest value that can be used as window level is 20. But, if you retrieve the window li[详细]
2023-02-21 02:17 分类:问答iOS Sequential Drawing Without Erasing Previously Drawn
I am simply trying to draw a bunch of lines to a view, depending on user interaction. For example, the 开发者_开发知识库user presses a button, and one line is drawn. The user presses another button, a[详细]
2023-02-20 22:30 分类:问答UIGraphicsGetCurrentContext Problem
I have a problem drawing objects passing this graphic context CGContextRef context = UIGraphicsGetCurrentContext();[详细]
2023-02-20 11:31 分类:问答layer.zPosition does not work with non-sibling UIViews
I have a reasonably complex hierarchy of UIImageViews.Originally, I was carefully swapping the sibling order when one UIImageView moved in front of another.Then I found out about myUIImageView.layer.z[详细]
2023-02-20 04:47 分类:问答