Code: Alles auswählen
OpenWindow(1, 10, 10, 400, 100, "")
; SetWindowColor(1, RGB(255, 255, 255))
CreateImage(1, 400, 100)
FontID.l = LoadFont(7, "Arial", 14)
StartDrawing(ImageOutput(1))
DrawingMode(#PB_2DDrawing_Default)
BackColor( RGB(255, 255, 255))
DrawingFont(FontID)
DrawText(30, 30, "aaaaaaaaaaaaaaaaaaaaaaaaaaa")
StopDrawing()
StartDrawing(WindowOutput(1))
DrawingMode(#PB_2DDrawing_Default)
BackColor( RGB(255, 255, 255))
DrawingFont(FontID)
DrawImage(ImageID(1), 0, 0)
StopDrawing()
Repeat
Until WaitWindowEvent(1) = #PB_Event_CloseWindow