Hi Christian,
I'm converting some off my apps and don't find the way how to do something.
I have a NSWindowMBS with a CustumNSViewMBS.
The CustumNSViewMBS.DrawRect event has to draw the self created
windowbackground with my own curved edges.
CustumNSViewMBS.DrawRect:
dim sf as double = mywindow.backingScaleFactor
g.shouldAntiAlias=True
g.drawAtPoint mywindowbackground(width/sf, height/sf), 0, 0, 0, 0,
width*sf, height*sf, g.NSCompositeCopy, 1.0
The "mywindowbackground" method is returning a with .backingScaleFactor sized
NSImageMBS.
Somewhere I made a mistake but where :-) ?
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
•••
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info