[Request] drawing a dinamic line
|
07-10-2014, 06:03 PM
(This post was last modified: 07-10-2014 06:30 PM by fabila.)
Post: #1
|
|||
|
|||
[Request] drawing a dinamic line
I'm trying to draw a diameter of a circle, and rotate by dragging your finger on the screen,
How to do a single line it looks? I tried but that rect(G2) after blit(G2) but erases the background Code:
|
|||
07-10-2014, 07:41 PM
Post: #2
|
|||
|
|||
RE: [Request] drawing a dinamic line
For your example, fastest way is just redrawing the last line over with the background color.
My website: ried.cl |
|||
07-10-2014, 07:58 PM
Post: #3
|
|||
|
|||
RE: [Request] drawing a dinamic line | |||
07-10-2014, 08:21 PM
Post: #4
|
|||
|
|||
RE: [Request] drawing a dinamic line
Well, you can use G0 and/or a condition to avoid unnecessary redraws:
Code: export Mes() My website: ried.cl |
|||
07-10-2014, 09:23 PM
Post: #5
|
|||
|
|||
RE: [Request] drawing a dinamic line
thank you very much for the code, just what I needed
Habia intentado el volver a dibujar la recta de color del fondo pero me faltaba el condicional muchas gracias. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)