quartz-2d
How can I remove a UIView with rounded corners from its parent view?
I\'m creating an iPad app for 3.2 and later. My app has an overlay view which has a semi-transparency that makes everything below it darker. In the middle of this view I am chopping a hole in this sem[详细]
2023-01-28 01:43 分类:问答How to accelerate quartz 2d
I have the scene stored in array as collection of shapes that is represented by sequence of points. I\'m drawing this scene with CGContextMoveToPoint, CGContextAddLineToPoint, CGContextSetFillColorWit[详细]
2023-01-23 15:12 分类:问答Copying the drawn contents of one UIView to another
I\'d like to take a UITextView and allow the user to enter text into it and then trigger a copy of the contents onto a quartz bitmap context.Does anyone know how I can perform this copy action?Should[详细]
2023-01-22 01:19 分类:问答Quick Check re How To Implement Multiple UIViews in an iPhone Game
I am going to restructure my game to use multiple uiviews. Is the following flow correct ? I create 6 uiviews ( one for each sprite).[详细]
2023-01-19 16:55 分类:问答Is it possible to inject a CIBumpDistortion filter to a specific area of the screen on Mac OS X (Snow Leopard)?
I want to temporarily distort the area under the mouse using a 开发者_运维百科CIBumpDistortion to increase the visibility of the mouse pointer.[详细]
2023-01-19 04:14 分类:问答Problem adapting scale factor for iPad x2 compatibility mode
I wonder if anyone can help me with following. I have written a Quartz 2d ap and have used the following code to get the correct scale factor for each device :[详细]
2023-01-18 19:30 分类:问答How to keep the previous drawing when using Quartz on the iPhone?
I wa开发者_运维知识库nt to draw a simple line on the iPhone by touching and dragging across the screen. I managed to do that by subclassing UIView and change the default drawRect: method. At the same[详细]
2023-01-18 03:43 分类:问答quartz 2d iphone not drawing
i was trying out quartz 2d today and i got to learn basic drawing and other things, but now, somehow everything i do doesn\'t draw a thing on the iphone screen! i tried making a new project and starti[详细]
2023-01-17 18:29 分类:问答CGContext line drawing: CGContextFillPath not working?
Anyone have any idea why CGContextFillPath won\'t work in the code snippet below? I\'m using the following code to draw to a UIImageView. It\'s stroking the path correctly, but ignoring CGContextFillP[详细]
2023-01-17 16:11 分类:问答Inserting a Background Image using Quartz2d and Context?
I have written a game using Quartz2d. I w开发者_StackOverflow社区ould like a insert a background image to the game. I have tried doing this using the view.insertSubView method however the background i[详细]
2023-01-17 10:10 分类:问答