... and posted a link to source which does it.

First rule of MonoTouch: you WILL need to be able to read ObjectiveC.
Not write it, but read it. Same as with MonoForAndroid, you need to
know SOME Java. And for WP7, you need to know _some_ XAML (ok, a lot
of XAML)



https://github.com/acoomans/iOS-MagnifyingGlass/blob/master/MagnifyingGlass/ACMagnifyingGlass.m

- (void)drawRect:(CGRect)rect {
        CGContextRef context = UIGraphicsGetCurrentContext();
        CGContextTranslateCTM(context, self.frame.size.width/2,
self.frame.size.height/2 );
        CGContextScaleCTM(context, scale, scale);
        CGContextTranslateCTM(context, -touchPoint.x, -touchPoint.y);
        [self.viewToMagnify.layer renderInContext:context];
}



On Tue, Apr 10, 2012 at 02:44, Jason Awbrey <[email protected]> wrote:
> Pritish - you already asked this on SO and received a helpful answer.
>
> http://stackoverflow.com/questions/10072104/how-to-add-the-magnify-control-to-the-uiimage
>
>
> On Mon, Apr 9, 2012 at 4:57 AM, Pritish <[email protected]>
> wrote:
>>
>> Hi,
>>
>>    I want to Magnify some part of the Image with Magnify Control How I can
>> implement this.
>>       How to add the Magnify Control to the UIImage while click the
>> Magnify
>> UIButton.
>>
>>
>> Regards
>> Pritish M. Deshmukh
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/How-to-add-the-Magnify-Control-to-the-UIImage-tp4542418p4542418.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to