iphone Programming Glossary: fullrows
how to handle tiling of images on the fly http://stackoverflow.com/questions/5985477/how-to-handle-tiling-of-images-on-the-fly CGFloat cols image size .width size.width CGFloat rows image size .height size.height int fullColumns floorf cols int fullRows floorf rows CGFloat remainderWidth image size .width fullColumns size.width CGFloat remainderHeight image size .height.. rows CGFloat remainderWidth image size .width fullColumns size.width CGFloat remainderHeight image size .height fullRows size.height if cols fullColumns fullColumns if rows fullRows fullRows CGImageRef fullImage image CGImage for int y 0 y fullRows.. size.width CGFloat remainderHeight image size .height fullRows size.height if cols fullColumns fullColumns if rows fullRows fullRows CGImageRef fullImage image CGImage for int y 0 y fullRows y for int x 0 x fullColumns x CGSize tileSize size if..
|