Le 16 nov. 11 à 13:44, Christian Schmitz a écrit: > Am 16.11.2011 um 12:06 schrieb Arnaud Nicolet: > >> One of the most annoying thing about Cocoa is the y origin. Why did >> they swap it? Any logical reason behind this? > > Y = 0 on the bottom is the origin for PDF and the NextStep > coordinate system which is the root of CoreGraphics.
Ok, thanks. (still weird the PDF and NextStep have thought it was better to invert the y, but not the x)... I'm currently trying to use the IconFamilyMBS class, like this: dim g As IconFamilyMBS g=newIconFamilyMBS // new family // Add icons g.Thumbnail32BitData=p g.Thumbnail8BitMask=m g.Large1BitData=p g.Large1BitMask=m g.Large32BitData=p g.Large4BitData=p g.Large8BitData=p g.Large8BitMask=m g.Huge1BitData=p g.Huge1BitMask=m g.Huge32BitData=p g.Huge4BitData=p g.Huge8BitData=p g.Huge8BitMask=m g.Small1BitData=p g.Small1BitMask=m g.Small32BitData=p g.Small4BitData=p g.Small8BitData=p g.Small8BitMask=m Return g (example taken from your documentation) but I'm getting the error -1 after the first call (g.Thumbnail32BitData=p). Again, this error -1 is said to mean the function is unavailable on the machine. Is IconFamilyMBS also not available on Cocoa? If yes, how do I replace that? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
