English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I could probably figure out the random code myself, I really just need to know how to draw a pixel

2006-08-25 23:31:01 · 4 answers · asked by Chibbles_R_Us 1 in Computers & Internet Programming & Design

4 answers

u can use rnd function to find out a random number.

you can use qbcolor(rnd) function to find out a random color

For making a pixel in picture control use the below code

picture1.pset(43,543), qbcolor(15*rnd)

Here pset function is used to draw a pixel. 43,543 are desired coordinates where we want to draw the pixel. qbcolor(15*rnd) generates a random color.
#Random position can be easily determined by rnd function. make sure that it does't exceed the picture1 height and width control. also change the scalemode to 3-pixel rather than 1-twip

2006-08-25 23:58:36 · answer #1 · answered by ankur_ngm 1 · 0 0

a million.crimson (because of the fact it extremely is the colour it extremely is warm and appealing) 2.crimson (because of the fact crimson is very girlish while crimson curiously represents gayness in adult males) 3.Yellow (because of the fact it extremely is brighter and prettier and eco-friendly) 4.Black (because of the fact I each so often placed on black nail polish) 5.gray&White 6.Violet (greater femine)

2016-12-14 12:13:36 · answer #2 · answered by ? 4 · 0 0

Look in the help section.

I think the command you are looking for is "Point"

2006-08-25 23:34:19 · answer #3 · answered by JeffE 6 · 0 0

You can try the software named, IMPACT STUDIO. There u can find lots more about it.

2006-08-25 23:57:40 · answer #4 · answered by coolboy_avik 1 · 0 0

fedest.com, questions and answers