I have some images and I want to draw them using drawAtPoint
( I am using a table of 100s of cells and doing the draw as recommended for making the scrolling faster). Now, these images are kind of random (their size can be anything.. ) and I need to specify the dimension I want to fit in.
Can anyone kindly tell me what to do ?
Thanks.
Assuming I understand what you want to do use:
- (void)drawInRect:(CGRect)rect;
When using drawAtPoint you cannot specify the dimensions, it will draw the entire image in the current graphics context.