r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Geomol
30-Nov-2006
[97]
Does line-join in the DRAW dialect works with Windows version? There 
seem to be a problem with OSX version:


view layout [box 200x100 effect [draw [pen red line-width 15 line-join 
round line 10x10 90x10 90x90 10x10 polygon 110x10 190x10 190x90]]]

I think, they both should be with rounded corners.
Pekr
30-Nov-2006
[98]
only second one is rounded - View 1.3.2 on W2K here ...
Geomol
30-Nov-2006
[99]
What about line-cap?


view layout [box effect [draw [pen red line-width 15 line-cap round 
line 10x10 90x10 90x90]]]
Pekr
30-Nov-2006
[100]
rounded
Geomol
30-Nov-2006
[101x2]
ok, I'll report it.
line-cap doesn't seem to work with OSX version.
Pekr
30-Nov-2006
[103x2]
hmm, maybe I should try View 2.7.4 under Windows too though ...
maybe Cyphre did some changes in AGG ...
Rebolek
30-Nov-2006
[105]
and to have some fun, it's on us to find what changes as with 2.6.3. 
great...
Pekr
30-Nov-2006
[106x4]
anyway - 2.4 AGG is stop gap for us ... Maxim decide to release 2.5 
under GPL ...
so hopefully changes will end in one day :-)
Geomol - hah, not rounded under new beta ...
the first example you posted is the same as with View 1.3.2 - first 
non rounded, second one with rounded corners ....
Geomol
30-Nov-2006
[110]
I believe, Canvas RPaint is good to test these things.
Pekr
30-Nov-2006
[111]
still exists?
Geomol
30-Nov-2006
[112]
Of course, same link!
Pekr
30-Nov-2006
[113x2]
so except fonts, we now have linux and os-x Views compatible already?
well, rebcode would probably help, but imo we are not going to see 
it being back, untill R3 is here. The doc regarding Rebol security 
model was promissed, but not delivered. Not sure Rebcode is going 
to be backported to R2 ...
Geomol
30-Nov-2006
[115x3]
You can find link to Canvas RPaint under Checklists/Links (the checkmark 
icon up next to the calender here in AltME.
Pekr, yes Canvas RPaint works at least under OSX (and I think Linux 
too) except fonts and some bugs (mostly with DRAW dialect).
Also problem with events. For ex. mouse scroll-button doesn't work 
under OSX.
Maxim
30-Nov-2006
[118x6]
Geomol can you give the link to canvas RPaint... I have a very interesting 
proposition for you.  but I need to look at RPaint before   :-)
hum I found a link to version 0.9.8 but on execution I get an error: 

** Script Error: Cannot use path on none! value
** Where: repend
** Near: system/script/header/version

that's with v1.3.2 of REBOL.
using 2.7 I get a not enough memory error and can't even start it.
my bad... its in the way I ran the code... works not (was starting 
it from the console, obviously no script header version)
not=now
hahahaha I just saw the "workbench" menu option LOL
Henrik
30-Nov-2006
[124]
there's screen dragging too :-)
Maxim
30-Nov-2006
[125]
in full screen mode you mean?
Henrik
30-Nov-2006
[126]
yes, or at least there was the last time I checked
Maxim
30-Nov-2006
[127]
hum can seem to get that to work...
Henrik
30-Nov-2006
[128]
maybe it was taken out again
Maxim
30-Nov-2006
[129x2]
wow even has fill pen... its actually faster than on my old A1230/50/16MB
  ;-)
wow even has magnifier  :-)
Henrik
30-Nov-2006
[131]
I remember that Geomol wrote a version with a fill-pen that was written 
in rebcode. it's very fast, practically instantanous.
Maxim
30-Nov-2006
[132x2]
wow.  I hope rebcode gets inserted within 2.7 release.  THAT would 
be a differentiating feature.
even if it currently has some issues.
Gabriele
30-Nov-2006
[134]
agg changes in 2.7: most of the dialect changes/bugs are probably 
because of the internal string change Carl mentioned. i don't know 
of any major changes by Cyphre.
Geomol
30-Nov-2006
[135]
:-)

Maxim and Henrik, I took screen-dragging out again, because it didn't 
work 100%. I think, the code is still in there commented out.

Maxim, if you have a proposition, please feel free to write me privately.
Cyphre
30-Nov-2006
[136x3]
Yes, Gabriele is right. No big changes to DRAW at the moment. We 
wanted  to make sure the new compiler and string change doesn't break 
any actula feature of DRAW so the decission was no changes to AGG 
until we are sure it works the same like in 1.3.2.
Geomol: The behaviour of LINE you have spotted is not a bug. Try 
this code to see the difference:
view layout [
	origin 0
	box 400x100 white effect [
		draw [
			pen red
			line-width 15
			line-join round
			line 10x10 90x10 90x90 10x10
			spline 110x10 190x10 190x90 110x10 
			spline 210x10 290x10 290x90 210x10 closed
			polygon 310x10 390x10 390x90
		]
	]
]
Geomol
30-Nov-2006
[139]
Which of those should have round corners?
Cyphre
30-Nov-2006
[140]
Hmm, when comparing 1.3.2 and 2.7.4: The LINE-CAP round has no effect 
in 2.7.4?!? Looks like a bug.
Geomol
30-Nov-2006
[141]
Cyphre, you should make sure, Carl is using the right DRAW source, 
when building for OSX.
Cyphre
30-Nov-2006
[142]
Geomol, to explain it a bit:
LINE - draws single lines (eve if you specify multiple coords)

SPLINE - draws 'connected' lines but the 'head' and 'tail' is splitted 
(until you specify CLOSED keyword)
POLYGON - always draws 'connected' lines in form of closed shape
Geomol
30-Nov-2006
[143x2]
Thanks! :-)
I think, I should use SPLINE in stead of LINE in some of my scripts.
Cyphre
30-Nov-2006
[145x2]
LINE - shape of 'head' and 'tail' is affected by LINE-CAP mode

SPLINE - shape of 'line joins' is affected by LINE-JOIN mode...if 
CLOSED is defined shape of 'head' and 'tail' is affected by LINE-CAP 
mode
POLYGON - shape of all 'line joins' is affected by LINE-JOIN mode
Geomol: I'm (almost)sure Carl is using the same DRAW sources ;) What 
specific problems did you noticed?