Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2005
    Posts
    2

    Default Scripting of Xara?

    Howdy,

    I've just discovered Xara Xtreme via the announcement
    to open the source. This is exciting.

    I have not seen any mention of the ability to script drawing
    operations in Xara.

    Does this feature exist, or is it planned?

    Thanks,
    Kent
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Leigh, Lancashire, UK
    Posts
    436

    Default Re: Scripting of Xara?

    I am sure scripting is something that could be added at the progmatic leve, and I'm sure that it would be useful.

    One area that I think Xara could expand in to is the area of server side graphics - it would be great if there was a Xara engine capable of creting superb graphics on the fly for the web.
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Skødstrup, Denmark
    Posts
    251

    Default Re: Scripting of Xara?

    Server-side facilities could be very cool and also a thing that would open up for further areas of use. For instance if it would be possibel to create objects and thereby doing drawings using programming languages - or other applications. Scripts could then also be an example of interfacing with the Xtreme world of Xara graphics. Something like this in say javascript (in say ASP pages):
    var oXtremeObj = Server.CreateObject('Xara.Xtreme.Canvas');
    var oCircle = oXtremeObj.addCircle(100, 100, 200);
    var oCircle1 = oCircle.clone();
    var oTransparency = Server.CreateObject('Xara.Xtreme.Transparency.Line ar);
    oTransparency.addPoint('0px', '0px', '#000000');
    oTransparency.addPoint('100%', '100%', 'rgb(100%, 100%, 100%)');
    oCircle1.setTransparency(oTransparency);
    ... and so on... :-)

    Let's see if something like this will occur :-)
    Cheers,

    Sten
    "Everything has two sides"
    IP

  4. #4
    Join Date
    Oct 2005
    Posts
    2

    Default Re: Scripting of Xara?

    or a version of gnuplot which outputs shiny xara-engine charts with anti aliasing, gradients etc...
    IP

  5. #5
    Join Date
    Dec 2000
    Location
    Out behind the henweigh...
    Posts
    5,115

    Default Re: Scripting of Xara?

    Once the linux version hits the servers, they will be swapped for quite a while...
    IP

  6. #6
    Join Date
    Oct 2005
    Posts
    2

    Default Re: Scripting of Xara?

    If Xara has a blank slate as far as scripting goes,
    please look at using Python for the language.

    It would make me sad if scripting required learning
    a Lisp derivitave or VB. (or Perl, or Postcript, or something brand new ...)

    Thanks,
    Kent
    IP

  7. #7
    Join Date
    Dec 2002
    Location
    Eyre Heiss
    Posts
    364

    Default Re: Scripting of Xara?

    "Xarascript" rolls nicely off the tongue ...
    Anton
    IP

  8. #8
    Join Date
    Dec 2000
    Location
    Out behind the henweigh...
    Posts
    5,115

    Default Re: Scripting of Xara?

    The logical choice would be a derivative of XML.
    IP

  9. #9
    Join Date
    Nov 2005
    Posts
    6

    Default Re: Scripting of Xara?

    I personally don't believe much in scripting, especially when it opens door for all sorts of remote security exploits. Until Xara provides sandbox environment with limits scripting abilities, and only to facilities permitted be users, that is a subject best handled with skepticism.
    IP

  10. #10

    Default Re: Scripting of Xara?

    Xara doesn't yet have any scripting interface. If we did it right we'd expose the DOM so that it could be driven by any scripting language, although we'd probably make that Javascript/ECMAscript by default, and that should probably be bundled with the app (Macromedia do this)

    Having said that it's not on our priority list to get scripting working - but is just the sort of thing that open-source guys love to do and so I'd hope would come out of the open-source release at some point in time.
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •