scale « 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 » scale 

1. Scaling up iPhone "vector-based graphics" on affine transforms    stackoverflow.com

I made a "Circle" view with this drawRect

- (void)drawRect:(CGRect)rect 
{
    CGContextRef ctx = UIGraphicsGetCurrentContext();

    CGContextSetFillColorWithColor(ctx, color.CGColor);
    CGContextAddEllipseInRect(ctx, rect);
    CGContextFillPath(ctx);
}
When ...

2. CGContext text drawing doesn't scale up on iPhone 4    stackoverflow.com

I am trying to create an app that scales up nicely on the iPhone 4. Currently most of it scales up perfectly, except for one crucial piece: the text that ...

3. Applying color to gray scale image, preserving alpha values (iOS/Quartz)    stackoverflow.com

This is probably very straightforward, but I am not even sure what it's called - which makes googling a bit less useful than usual. I have a gray scale line drawing with ...

4. White border when rendering PDF when scale > 1    stackoverflow.com

I have a method that return an UIImage from a CGPDFPageRef. You can specify a width for the image. The problem is that when pdfScale is > 1, a white border appears ...

5. Find Scale Value from CGAffineTransform    stackoverflow.com

Ok, so I realize I can find the scale value from a layer's CATransform3D like this:

 float scale = [[layer valueForKeyPath: @"transform.scale"] floatValue];
But I can't for the life of me figure ...

6. How is the UIPinchGestureRecognizer scale value determined?    stackoverflow.com

I was wondering if anyone knows how the UIPinchGestureRecognizer scale value is determined, or if there is a formula I could use to calculate a new scale value? I have an ...

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.