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

World: r3wp

[!REBOL3 GUI]

Graham
12-Aug-2010
[2524x2]
going to be
so why make everyone else compute when doing graphs etc ??
BrianH
12-Aug-2010
[2526]
User interfaces are usually composed from the top-left too, in western 
cultures.
Maxim
12-Aug-2010
[2527]
its almost impossible to reverse layout when it is expected (and 
much easier to compose) going down.
Graham
12-Aug-2010
[2528]
Just thinking ... dBase used bottom left too
Maxim
12-Aug-2010
[2529]
but it would be nice if we could tell the graphics to use up or down 
on the fly.
Gregg
12-Aug-2010
[2530]
Postscript does as well.
BrianH
12-Aug-2010
[2531]
Composing UIs from the lop left makes sense when the UIs are specified 
using a declarative language that starts from the top left too, a 
language like REBOL.
Gregg
12-Aug-2010
[2532]
Can't you use a draw transform?
Maxim
12-Aug-2010
[2533]
even text rendering is more naturally understood looking up, from 
the baseline.
Graham
12-Aug-2010
[2534]
I think that's what Cyphre also argues .. to use a transform
Maxim
12-Aug-2010
[2535]
transforms cause all kinds of complicated issues.  it will also slow 
down calculations since its applied within the pipeline, instead 
of directly within the engine.
Graham
12-Aug-2010
[2536]
whichever gives us the greatest speed should be the one we use
BrianH
12-Aug-2010
[2537]
Is there a problem with having Draw gobs be bottom-left, but text 
gobs top-left?
Maxim
12-Aug-2010
[2538x3]
it won't make a difference in speed.   its just a questing of the 
order of rasterizing, start at bottom or start at top.
yes, the coordinates will be inversed.
unless that is managed internally, which is could.
Graham
12-Aug-2010
[2541]
TV guys like Carl start at the top
Maxim
12-Aug-2010
[2542x2]
is = it
yes, hardware scanlines are managed top first.
BrianH
12-Aug-2010
[2544]
Postscript goes from the bottom because it rendered to paper, not 
screens.
Graham
12-Aug-2010
[2545]
display postscript
BrianH
12-Aug-2010
[2546]
Which was derived from Postscript, and so inherited its coordinate 
model, for better or worse.
Maxim
12-Aug-2010
[2547]
I'd say it uses bottom, cause they decided it was simpler to use 
math directly than continually adjust the trig functions for it.
Graham
12-Aug-2010
[2548]
Descartes
BrianH
12-Aug-2010
[2549]
Who wasn't doing UIs. There are downsides to either approach.
Graham
12-Aug-2010
[2550]
The cartesian coordinate system underlies all UIs
BrianH
12-Aug-2010
[2551]
Yes, but it wasn't designed for UIs. Another legacy system.
Graham
12-Aug-2010
[2552]
legacy means obsolete which it is not
Maxim
12-Aug-2010
[2553]
both coordinate systems are optimal for their own use.
Graham
12-Aug-2010
[2554]
Imagine a GUI based on polar coodinates
BrianH
12-Aug-2010
[2555]
Legacy means legacy, not obsolete.
Maxim
12-Aug-2010
[2556]
we just need to be able to switch to and from those based on the 
current task, IMHO.
Graham
12-Aug-2010
[2557]
it's just a transformation ... so where would that transformation 
hurt the least
BrianH
12-Aug-2010
[2558]
Sounds good to me. But potentially confusing - that will need to 
be managed.
Maxim
12-Aug-2010
[2559]
by "need" I mean, it would be simpler if engine can adapt to the 
task
Graham
12-Aug-2010
[2560]
I'm suggesting that making the user make the transform is incorrect
Maxim
12-Aug-2010
[2561]
no its NOT just a transformation.
Graham
12-Aug-2010
[2562x3]
the View engine should handle this transformation
so that's transparent
like silicon dioxide
BrianH
12-Aug-2010
[2565]
It won't be transparent either way. Either you need to specify the 
direction of the coordinate system (declarative overhead) or specify 
the transform (procedural overhead). And there will be computing 
overhead either way.
Graham
12-Aug-2010
[2566x2]
I wonder if this will help in rendering letters that use an upper 
baseline
I'd imagine you just vector the computation engine so that there 
is no overhead
BrianH
12-Aug-2010
[2568x2]
The question model is which is more efficient to use, both at development 
time and runtime. Letters will be tough either way (likely more for 
bottom-up), but graphics will be simpler bottom-up until display 
time.
The question model is which -> The question is which model
Maxim
12-Aug-2010
[2570]
if we have a simple rasterization switch, per gob, then it will not 
cause any speed difference.
Graham
12-Aug-2010
[2571x2]
why exactly are we using top down?
Because AGG uses it ??
Maxim
12-Aug-2010
[2573]
cause that is how layout is performed.