StopDrawing()
Syntaxe
StopDrawing()Description
Lorsque tous les affichages graphiques ont été réalisés, cette fonction doit être appelée afin de terminer le dessin et libérer les ressources.
Arguments
Aucun.
Valeur de retour
Aucune.
Exemple
If OpenWindow(0, 0, 0, 200, 100, "StopDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) If CreateImage(0, 200, 100) And StartDrawing(ImageOutput(0)) DrawText(50,30,"PUREBASIC", RGB(255, 255, 0)) StopDrawing() ImageGadget(0, 0, 0, 200, 100, ImageID(0)) EndIf Repeat Event = WaitWindowEvent() Until Event = #PB_Event_CloseWindow EndIf
Voir aussi
StartDrawing()
OS Supportés
Tous