Sign in to follow this  
Followers 0
pixartist

simple dll for pixel painting?

2 posts in this topic

Hi, i know prospeed, but it's focused on sprites, what i want is a simple dll, which gives me the ability to easily create an area to which i can paint single pixels(fast would be nice). i don't need further functions xD

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

#include <Prospeed.au3>
Opt("GUIOnEventMode", 1)
HotKeySet("{Esc}","_Exit")
GUICreate("FillExtBmp",600,400)
GUISetOnEvent($GUI_EVENT_CLOSE, "_exit")
GUISetState()

Background("", 0, 0,600,400)

FillExtBmp(0,600,0,400,0xffffff) ; paints the window complete white

FillExtBmp(150,151,50,51,0x0000ff) ; 1 pixel color RED at location X 150 , Y 50

FillExtBmp(250,300,50,100,0x00ff00) ; paints cube color GREEN at location X 250 Y 50 ,width 50 height 50

FillExtBmp(350,450,50,250,0xff00ff) ; paints rectangle color purple at location X 350 Y 50 ,width 100 height 200

While 1
    Sleep(1000)
Wend      

Func _Exit()
    Exit
EndFunc

only works with new prospeed udf

have fun :)

jpam

Edited by jpam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0