World: r3wp
[AGG] to discus new Rebol/View with AGG
older newer | first last |
Volker 22-Jun-2005 [264] | Your jobs :) |
Carl 22-Jun-2005 [265x2] | 4) Add a few other tools like layout, etc. But not make it complicated. |
File <> module, but it can in many cases. | |
Volker 22-Jun-2005 [267] | tracing would need backlinks to sourcecode? or just work on molded code? |
Carl 22-Jun-2005 [268x2] | Oh no! What is this conversation doing in AGG group!? |
We sure ruin the group system, don't we? | |
shadwolf 22-Jun-2005 [270] | the IDE will interger a AGG draw editor lol ;) |
Graham 22-Jun-2005 [271] | off topic question - in Rebol you have contexts in which words are hidden. In forth you have vocabularies in which you define your lexicons. But in forth it is much easier to switch to using a different vocabulary by changing the current vocabulary. In Rebol you have to specify the context to use a word from within that context. Would it make sense to implement such a feature in Rebol? |
shadwolf 22-Jun-2005 [272] | If you seek for a link betwin this conversation and this group topic ;) |
Henrik 22-Jun-2005 [273] | we don't have an IDE or View Editor group... |
Volker 22-Jun-2005 [274] | Oops. you said change group, so i followed the next group going red *blush* |
shadwolf 22-Jun-2005 [275] | Same for me ... |
Carl 22-Jun-2005 [276] | Graham: that's what REBOL Modules would do. Modules each keep separate symbol tables (not just context tables). |
Graham 22-Jun-2005 [277] | Rebol modules ?? |
Volker 22-Jun-2005 [278] | http://www.rebol.net/article/0144.html |
Pekr 22-Jun-2005 [279] | so are rebol modules reconsidered? |
Graham 22-Jun-2005 [280] | So, modules would be like forth vocabularies ? |
Carl 22-Jun-2005 [281x2] | Not exactly. |
Forth vocabularies are heaps of word definitions (code and data). | |
Graham 22-Jun-2005 [283] | I meant in use. |
Carl 22-Jun-2005 [284] | It has been too long since I used Forth to know precisely! |
Graham 22-Jun-2005 [285] | Would you be able to switch easily from working with one module to another? |
Carl 22-Jun-2005 [286] | we should move out of this group! |
Volker 22-Jun-2005 [287x3] | to me it sounds comparable. a "search-order" root system user etc. and modules can be extended after creation. |
but here is more control about what you use from other modules. if you search "forth" in big systems, thats 1k words. here we can say "want only drop dup swap". | |
moving out - too late.. ;) new group? | |
Graham 22-Jun-2005 [290x2] | rename this group :) |
Future Directions | |
Carl 22-Jun-2005 [292] | TechTalk |
Ashley 22-Jun-2005 [293] | Back to AGG ... "add a move to the end to keep the shape open" ... thanks Gabriele, that solves the problem nicely. |
shadwolf 23-Jun-2005 [294x2] | I'm actually working on svg-demo.r code in order to extend it translation support |
so actually I'm working on <G></G> block and I yet support in <g> block path definition but I need to be able to support the transform matrix how can i do this in DRAW AGG ? | |
Vincent 23-Jun-2005 [296] | shadwolf: there's the 'matrix command for 2x3 matrix in draw/AGG : the syntax is matrix [a b c d e f] where the equivalent 3x3 matrix is: | a c e | | b d f | | 0 0 1 | if I'm correct , "matrix(2.082761,0.529757,-0.491943,1.944909,4.543758,-12.39301)" translates to matrix [2.082761 0.529757 -0.491943 1.944909 4.543758 -12.39301] |
Cyphre 23-Jun-2005 [297] | exactly |
shadwolf 23-Jun-2005 [298x5] | done bu t I still have jaggies ... |
and my ftp account is out of line ... | |
but I'm near the solution ;) | |
then I need to suport gradientLinear | |
see new group SVG RENDERER for my actual source code ;) | |
[unknown: 5] 23-Jun-2005 [303] | We gonna have some docs on agg useage or is it not included in view 1.3? |
Vincent 23-Jun-2005 [304] | AGG docs / infos : http://www.rebol.net/notes/draw-commands.txt http://www.rebol.net/draw/index.html |
[unknown: 5] 25-Jun-2005 [305] | I don't quite understand the notes on how to do draw text can someone post an example |
ChristianE 25-Jun-2005 [306] | my-font: make face/font [name: "Arial Black" size: 24] view layout [box effect [draw [font my-font pen black fill-pen yellow text "Text" vectorial]]] |
[unknown: 5] 26-Jun-2005 [307x4] | That is sweet! Thanks ChristianE |
That is a lot different method than I thought from the notes | |
I noticed that it doesn't work for 'btn no matter what size I choose | |
Also would be nice to input text like that into a field so that its already formatted and then when one types in the field its AGG style text | |
ChristianE 26-Jun-2005 [311x3] | AGG rendered *editable* text, you mean? I guess that would require some reasonable work, and it would probably be very slow, since you'd have to write your own OFFSET-TO-CARET and CARET-TO-OFFSET. |
For BTN, which already has an EFFECT block, you'd have to append the DRAW block: | |
font-a: make face/font [name: "Arial Black" size: 24] font-b: make face/font [name: "Arial" size: 12] view center-face layout [ btn 120x48 with [ append init [ append effect compose [draw [font font-a pen black fill-pen yellow text 16x8 "Button" vectorial]] ] ] btn 20x120 with [ append init [ append effect compose [draw [transform -90 0x0 0x90 1 1 font font-b pen none fill-pen black text 0x2 "vertical text" vectorial]] ] ] ] | |
older newer | first last |