Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

draw single dot

Hello,

 

is it possible to set a single dot of the display by using the x- and y-coordinates during runtime of an app?

 

Can't find anything in that direction...

 

Regards

Capitano

Best Answer
0 Votes
3 REPLIES 3

Do you mean like

 

<svg id="dotView" display="none">
      <circle cx="50" cy="50" r="1" stroke="black" stroke-width="1" />
</svg>

 

or do you mean like a physical pixel?

Best Answer

Thanks,

 

in fact I mean physical pixels. I want to draw a graph and did a workaround by using lines in a similair way like your circles.

 

Unfortunately with those lines you have to define all lines in an index.gui file and change the coordinates during runtime. That's not very comfortable. -- So it would be easier if one has the opportunity to set discrete pixels of the display or a kind of defined canvas object.

 

Regards 

Capitano

 

Best Answer
0 Votes

Nope; the display buffer is not directly addressable. I did a graph app ('Ramp It Up') using 106 line elements, all statically declared.

Peter McLennan
Gondwana Software
Best Answer