1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
    pemcne is on a distinguished road

      0  

    Question Import svg file EXTJS 4

    Import svg file EXTJS 4


    Is it possible to draw an svg from a file in EXT-JS 4.0? I have exported svg's from Visio and those are the files I am trying to load into EXT-JS. All the examples I have seen so far specify each individual path to draw svg's.

    Still an EXT-JS newbie so I apologize if it is something obvious.

    Thanks in advance!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,798
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    There really isn't a way to convert SVG to a draw component to my knowledge.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    27
    Vote Rating
    0
    Hanterdro is on a distinguished road

      0  

    Default


    Why?

    "Anything that can be exported as SVG can be rendered in Ext.draw, even tigers"

    Source: http://www.sencha.com/blog/ext-js-4-...-and-charting/

    This article implied that I can import a SVG to Ext.draw.

    How got you the tiger in?

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    nicola.lambiase is on a distinguished road

      0  

    Default


    I agree with Hanterdro.

    What they probably did is an import/conversion from SVG to Ext.Draw syntax through a script.
    Anyway, a native import for SVG images would be really helpful, IMHO.

  5. #5
    Sencha Premium Member kimosabi's Avatar
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Posts
    49
    Vote Rating
    0
    kimosabi is on a distinguished road

      0  

    Default


    maybe they used some

    SVG to FXML

  6. #6
    Sencha User
    Join Date
    Mar 2013
    Location
    Moscow, Russia
    Posts
    26
    Vote Rating
    0
    koutsenko is on a distinguished road

      0  

    Default


    I agree with Hanterdro. Why can't we import scalable vector graphics? It's just a xml with layers and paths.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi