0

I'm writing a 2d application for ipad2. I would like to use 2048*1536 pixel coordinate system instead of 1024x768. It is possible? For example I would like to draw a rectangle like the following

CGRect rect = CGRectMake(2000,1000,10,10);
CGContextFillRect(context, rect);

and see the rectanle on the screen. With ipad(one) this is not possible.

thanks

4

1 回答 1

0

I don't believe that's possible even on the newest retina iPad. Since it still uses the 1024x768 coordinate system and pixel doubling.

Why do you want to use 2048x1536 as the co-ordinate system, couldn't you just divide those by 2 and achieve the same effect?

于 2012-04-24T08:47:48.647 回答