can some one translate this to COCOA?
Code: Select all
MyImage = CreateImage(#PB_Any, 200, 100, 24, RGB(255, 255, 255))
StartDrawing(ImageOutput(MyImage))
DrawingMode(#PB_2DDrawing_Transparent)
DrawText(20, 40, "Hello World!", RGB(0,0,100))
StopDrawing()