Oops! I found a way :-)
I draw my special window like before but ofcourse double sized.
Then I'm using:
dim img as new NSImageMBS(p, p.Mask)
return img.imageByScalingToSize(width, height)
This returned img is used as the way I did before!
Thanks Christian and Beatrix
Regards,
Jaap Cammeraat
http://xinfinite.nl
Made by Xinfinite
Peks https://itunes.apple.com/app/peks/id554593512?mt=12&ls=1
iSticky https://itunes.apple.com/app/isticky/id409074222?mt=12&ls=1
•••
Op 9 mei 2013, om 15:52 heeft Beatrix Willius <[email protected]> het volgende
geschreven:
> Can you post some more of your code?
>
> For retina you almost always have to stuff a 200x200 picture into a 100x100
> one.
>
> On 09.05.2013, at 15:46, Jaap Cammeraat <[email protected]> wrote:
>
>> I don't get it :-(
>>
>> When I use NSWindowMBS with a CustomNSViewMBS and want to draw a complete
>> round window...
>> How do I find it's graphic context to draw that round window without using
>> any Picture classes?
>
> Mit freundlichen Grüßen/Regards
>
> Trixi Willius
>
> http://www.mothsoftware.com
> Mail Archiver X: The email archiving solution for professionals
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info