World: r3wp
[View] discuss view related issues
older newer | first last |
Geomol 2-Sep-2005 [2448x2] | In DPaint, you can use shift at all times aswell, also before clicking with mouse. |
james_nak, uploaded new version with right-click for drawing black. I'll wait with possibility to choose right-click color, until I do GUI. | |
james_nak 2-Sep-2005 [2450] | Thanks. I'll try it right now. |
Henrik 2-Sep-2005 [2451] | james, try drawing circles with this version and then try this one: http://hmkdesign.dk/rebol/canvas.r Which one is faster? |
james_nak 2-Sep-2005 [2452] | Henrik, the latter is faster. It is most obvious with the draw command and very rapid mouse movements. |
Henrik 2-Sep-2005 [2453] | do you have fast or slow hardware? |
james_nak 2-Sep-2005 [2454x2] | Geomol, the Right click is most familiar! Cool. |
1.8 Ghz 512MB and I haven't rebooted Xp in a while. | |
Henrik 2-Sep-2005 [2456] | then the patch is mostly visible on fast machines... |
Geomol 2-Sep-2005 [2457x2] | Henrik, I've implementer your display-canvas, but with 50 FPS as the original PAL Amiga. New version uploaded. |
Hmm no good is some cases. Drawing lines sometimes doesn't show the end result. I think, some "show canvas" should be forced. I'll check... | |
Anton 2-Sep-2005 [2459] | Event filtering is difficult. Have you seen Gabriele and Romano's work on that ? Look for eat.r and there is another one too.. |
Geomol 2-Sep-2005 [2460] | New version uploaded with forced "show canvas" for all but "over" functions. Testing needed! |
Henrik 2-Sep-2005 [2461] | you could probably force a show canvas every time you receive an 'up event |
Geomol 2-Sep-2005 [2462x3] | yup, and down and key-presses. |
Anton, no, I'm not familiar with those. | |
Anton: but I think, I've got it "good enough" now. | |
Henrik 2-Sep-2005 [2465x3] | I think the feel is pretty good now. It's not silky smooth, but it's very responsive. It has a lot of potential. |
bug: pressing + results in an error | |
seems only to happen while the mouse button is pressed | |
Geomol 2-Sep-2005 [2468x3] | check! I'll look at it. |
Fixed. It's very funny to draw and change brush-size at the same time! :-) New version uploaded. | |
Wow, you can do that with the original DPaint too (just tried). Didn't know that! | |
Henrik 2-Sep-2005 [2471] | I think you can do almost anything, even switch drawing tools while the mouse is pressed in DPaint. |
Anton 2-Sep-2005 [2472] | Yes, but how to get good control over it ? |
Henrik 2-Sep-2005 [2473x2] | hmm.... I think there needs to be a limiter as well on keypresses. try moving the mouse around while not drawing and press and hold +. The movements are slow. |
this could also be affected by how fast key-repeat is set in your OS... | |
james_nak 2-Sep-2005 [2475] | G, the Rt-mouse is now draw. |
Geomol 2-Sep-2005 [2476x2] | I can't skip "show canvas" on key-presses, because then you might not see the change (e.g. the brush getting larger). |
James, what? Try latest version. | |
Henrik 2-Sep-2005 [2478] | is it possible to detect a key release? you could force a show there |
Geomol 2-Sep-2005 [2479x2] | Henrik, nope. |
Only key presses in REBOL (so far). | |
Henrik 2-Sep-2005 [2481] | ah too bad |
james_nak 2-Sep-2005 [2482] | G, OK, works fine. Thanks. |
Henrik 2-Sep-2005 [2483] | someone I talked to, really wanted a Brilliance interface rather than a DPaint one. With redefinable hotkeys and a separate interface layer, this should be possible, shouldn't it? |
Geomol 2-Sep-2005 [2484x2] | Yes, when modules are implemented. (My little plan.) ;-) |
New version with color pick tool (comma key) uploaded. It's also possible to choose right-click color. | |
Henrik 2-Sep-2005 [2486] | bug: draw and hold the mouse button down. now press E |
Geomol 2-Sep-2005 [2487x2] | check! |
hmm difficult one. In DPaint, you can change tool in the middle of something (like you did). Does it makes sense? Maybe it shouldn't be possible to change tool while drawing!? | |
Henrik 2-Sep-2005 [2489] | it probably doesn't really make sense unlike you like to paint in realtime :-) |
Geomol 2-Sep-2005 [2490x2] | Problem in "Canvas" is, that I do lots of things depending on tool, when the mouse is pressed. That now also has to be done, when a key is being pressed. Not good. I'll make sure, you can't change tool while drawing. Will solve problem. |
Fixed. New version uploaded. | |
Henrik 2-Sep-2005 [2492] | with the polygon tool, when using a large brush, the polygon is drawn with sharp edges. is this correct behaviour? |
Geomol 2-Sep-2005 [2493] | If filled polygon (W), then yes. Not-filled polygon (w) has round edges. |
Henrik 2-Sep-2005 [2494] | I get sharp edges here... |
Geomol 2-Sep-2005 [2495x3] | ups, a bug. Yes, got it too in second go. |
Fixed. New version uploaded. | |
It seems, the DRAW dialect "line-cap" doesn't have effect with "polygon", so I changed it to use "line". | |
older newer | first last |