I used to be able to do this in older versions of PureBasic:
Code: Select all
hDC=StartDrawing(ImageOutput(Image))
Code: Select all
hDC=StartDrawing(ImageOutput(Image))
Code: Select all
CreateImage(0, 320, 200, 24, #Blue)
SetRect_(fill.RECT, 25, 50, 100, 150)
hdc = StartDrawing(ImageOutput(0))
FillRect_(hdc, fill, GetStockObject_(#GRAY_BRUSH))
StopDrawing()
ShowLibraryViewer("Image", 0)
CallDebugger
Sure it does. Post a little snippet showing the failure, please.Mistrel wrote:Unsurprisingly, this undocumented feature no longer works.