calayer « graphics « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » graphics » calayer 

1. How should I do multiple animations on the iPhone?    stackoverflow.com

I'd like to animate multiple pieces for a game and i'd like to have those pieces move in different directions so my current method of animating an entire view will no ...

2. CALayer delegate method drawLayer not getting called    stackoverflow.com

My object a sub class of NSObject has CALayer instance variable. I use it for drawing and caching content with its delegate set to my object. But for some reason drawLayer:inContext: ...

3. Drawing woes with CALayer    stackoverflow.com

First of all, im finding the iPhone online docs to be not-so-very thoroughly clear when it comes to the various ways of rendering a layer. I get the jist of it, ...

4. Disable redrawing of CALayer contents when moved (iphone)    stackoverflow.com

I have a UIView with a large number of CALayers (~1000), each of which has a small image as its contents. This UIView is a subview of a scrollview (actually ...

5. No effect of reordering sublayers    stackoverflow.com

I have a UIView subclass that instantiates three sibling sublayers of its layer. Two of the sublayers have their content set to images files; and the third has a graphic ...

6. Nested CALayers not picking up perspective tranform    stackoverflow.com

I'm trying to make use of CALayers to create a 3D style effect in one of my applications. However, it seems that nested CALayers do not have perspective applied to them. To ...

7. Can't compile code when working with CALayer    stackoverflow.com

For some reason I get linker errors when I try and use CALayer:

  "_OBJC_CLASS_$_CALayer", referenced from:
I have imported the following headers:
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
Code:
arrowImage = [[CALayer alloc] init];

8. CALayer moves instantly when trying to animate?    stackoverflow.com

The code below handles a stack of CALayers. Every time a new layer is pushed onto the stack the function is locked, and all existing layers and moved down on the ...

9. How to store CALayers for reuse?    stackoverflow.com

I have a bunch of identical CALayers that I want to reuse. Often, a few of them should disappear, and then get reused in another position within the same superlayer (half ...

10. drawing image from CALayers    stackoverflow.com

I'm building some sort of censoring app. I've gotten so far that i can completele pixelate an image taken with my iPhone. But I want to achieve in the end an ...

11. iPhone CALayer animation    stackoverflow.com

I am drawing a line animation, connecting 2 points with a line. This is my code:

-(void) drawObject{     
    rootLayer   = [CALayer ...

12. Any way to disable CALayer's rasterizationScale interpolation / anti-aliasing in objective-c / iPhone / iOS SDK?    stackoverflow.com

I want to get rid of any interpolation/antialiasing/etc when setting myLayer.rasterizationScale = 0.01 and myLayer.shouldRasterize = YES; Example: enter image description here Here's the code I'm trying:

- (void)drawRect:(CGRect)rect {
  CGContextRef ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.