Search found 218 matches

by tomh
Wed Jul 17, 2013 7:31 am
Forum: SVG / XML Code
Topic: [Solved] <inkscape:grid (Code-question)
Replies: 4
Views: 3518

Re: <inkscape:grid (Code-question)

1) this is so that Inksacape can remember the setting you use when/if you set up the "grid" guides: Document Properties (ctrl+shift+P) -> Grids. Toggle on/off using # 2) Properly name-spaced xml elements should not be causing problems with the w3g validator [well, they might, but it is val...
by tomh
Mon Apr 15, 2013 5:29 pm
Forum: SVG / XML Code
Topic: Matrix transformation
Replies: 2
Views: 4591

Re: Matrix transformation

(By chance did you read some of my previous replies? I assume you did seeing as you seem to be nearly there !) The Key thing to note is that the transform object transforms the whole co-ordinate system, not just the object. There is a very subtle difference. The thing to note is that the matrix tran...
by tomh
Thu Dec 06, 2012 12:15 am
Forum: Help with using Inkscape
Topic: Duplicating gradients
Replies: 8
Views: 2703

Re: Duplicating gradients

If your gradients are solid i.e. they do not contain transparencies, then you can assign the stroke the same gradient. 1) Select object. 2) Open fill and stroke dialogue 3) Under Stroke Paint, select gradient option, select the same gradient as the fill paint uses. 4) Done. The reason this does not ...
by tomh
Mon Sep 17, 2012 4:36 am
Forum: SVG / XML Code
Topic: How to combine translate() and rotate() into matrix()
Replies: 9
Views: 9554

Re: How to combine translate() and rotate() into matrix()

Well, it has been a while since I last had to do matrix maths, or looked into how it applies to svg, Would either of my previous answers to this question help: 1) http://www.inkscapeforum.com/viewtopic.php?f=16&t=10550&p=39202#p39202 2) http://www.inkscapeforum.com/viewtopic.php?f=16&t=5...
by tomh
Sun Jun 17, 2012 10:28 pm
Forum: SVG / XML Code
Topic: Any tool for translating text inside SVG XML?
Replies: 9
Views: 5481

Re: Any tool for translating text inside SVG XML?

AndyFitzsimon has put together one tutorial on how to do this, unfortunately having to use the internet archive due to spam problems... http://web.archive.org/web/20080415092335/http://andy.brisgeek.com/archives/45 or in Russian... http://linuxgraphics.ru/articles.php?article_id=33 Not sure how much...
by tomh
Sun Apr 15, 2012 1:22 am
Forum: General Discussions
Topic: [SOLVED] How do I replicate Inkscape's bitmap tracer?
Replies: 25
Views: 25972

Re: How do I replicate Inkscape's bitmap tracer with Potrace

Not an expert, but... Potrace only does black and white? I had the impression that potrace and Trace Bitmap were basically the same thing. Potrace only does black and white. Inkscape has added several pre-processing steps that enable it to do the fancy traces, basically doing the colour prossessing ...
by tomh
Fri Mar 09, 2012 8:59 am
Forum: General Discussions
Topic: Arm based distro
Replies: 3
Views: 3308

Re: Arm based distro

Just checked the Debian package archive: http://packages.debian.org/sid/inkscape and it has builds for x86 and Arm, and more... So yes.
by tomh
Wed Feb 15, 2012 9:43 am
Forum: Inkscape Ideas
Topic: Kaleidoscope Effect
Replies: 2
Views: 4937

Re: Kaleidoscope Effect

I remember making that! Glad to see that it got some use ;-)
by tomh
Thu Jan 12, 2012 5:37 am
Forum: SVG / XML Code
Topic: svg in html/js
Replies: 2
Views: 3801

Re: svg in html/js

Not legal as is. In HTML 5 you are nearly correct see this: http://www.tutorialspoint.com/html5/html5_svg.htm basically you have to add the svg namespace element. Otherwise it is a bit of a mind field, tav has done a fairly good job of summarizing the options: http://tavmjong.free.fr/SVG/SVG_IN_HTML...
by tomh
Sat Dec 31, 2011 11:55 pm
Forum: Help with using Inkscape
Topic: Illustration from microscope live view?
Replies: 4
Views: 1796

Re: Illustration from microscope live view?

Not being well versed in live view for microscopes, but recently finishing Uni, I thought I would list the pieces of software that I thought could match / help / if you asked people involved would be more knowledgeable about requirements/ solutions: http://gwyddion.net/ Mostly deals with AFM / scann...
by tomh
Sat Dec 31, 2011 9:45 am
Forum: General Discussions
Topic: Inkscape app for android?
Replies: 6
Views: 25990

Re: Inkscape app for android?

No, there isn't an android version. Inkscape has Mac/Linux/Windows version as well as a portable apps version (one you can put on a usb stick to use without installing). Making a version for a different platform takes a lot of work, especially for mobile platforms as they are more prescriptive in ho...
by tomh
Sun Dec 04, 2011 8:25 am
Forum: General Discussions
Topic: Extracting data from graph vectors
Replies: 2
Views: 2752

Re: Extracting data from graph vectors

You can see the vector data used to create lines but I'm not sure if the format will be useful for your purposes. To view the vector data (SVG format) select the line then open the XML Editor on the the command bar, 4th item from right hand side / ( Shift+Ctrl+X ). You can see the value pairs in the...
by tomh
Mon Nov 28, 2011 4:31 am
Forum: Help with using Inkscape
Topic: Joining or connecting lines
Replies: 3
Views: 1696

Re: Joining or connecting lines

Could you not just scale the original pentagon by 50% (Object -> Transform). Anyway, you could probably do it by selecting two lines at a time and using the Align and Distribute dialogue ( Shift + Ctrl + A ) using the option to align to the biggest object / last selected and the relative to bottom/t...
by tomh
Sat Nov 26, 2011 4:27 am
Forum: Off topic
Topic: [SOLVED] Drawing tool
Replies: 1
Views: 2308

Re: Drawing tool

This forum is for the discussion of Inkscape ( http://www.inkscape.org ). The icons on the right in the post editor are there to help people give instructions on how to use Inkscape. NOT for drawing in this forum. For example: 1) Use the select tool ( :tool_selector: ) to select the object. 2) Then ...
by tomh
Wed Nov 23, 2011 10:48 am
Forum: SVG / XML Code
Topic: SVG <use> with JS variables
Replies: 14
Views: 10439

Re: SVG <use> with JS variables

Well, I have managed to adapt the second version to a working state ;-) , the couple of problems I found was not setting all the attributes by using the name space reference and a couple of other things. I ended up returning to the original def section rather than creating it in javascript. Trying t...
by tomh
Wed Nov 23, 2011 12:42 am
Forum: SVG / XML Code
Topic: SVG <use> with JS variables
Replies: 14
Views: 10439

Re: SVG <use> with JS variables

Defiantly text/ecmascript ... Also when I run it through firebug (getfirebug.com) for firefox; line 50 says this: Node cannot be inserted at the specified point in the hierarchy [Break On This Error] svgdoc.appendChild(usea); js_test.svg (line 50) so I believe that this is why carto.net uses this do...
by tomh
Tue Nov 22, 2011 11:44 am
Forum: SVG / XML Code
Topic: SVG <use> with JS variables
Replies: 14
Views: 10439

Re: SVG <use> with JS variables

First mistake (in the new version); <script type="image/svg+xml"> (line 12) is incorrect... it should be: <script type="text/ecmascript"> . I think that is a big one ;-) Second. the if statement is incorrect; it requires {} brackets around the statement to be performed Oh, and th...
by tomh
Sat Nov 05, 2011 7:40 am
Forum: Help with using Inkscape
Topic: Help develope a techinque to make this effect possible
Replies: 6
Views: 2308

Re: Help develope a techinque to make this effect possible

I have done this before in Inkscape. The method I used was to create a series of circles with set radiuses (100px, 80, 60, 40 and 20) align and distribute them so that they are all centred. Convert them to paths, combine them all ctrl+k. Make a duplicate copy. Each circle should be made out of 4 seg...
by tomh
Mon Oct 31, 2011 10:51 pm
Forum: SVG / XML Code
Topic: Applying Matrix from svg parsing.
Replies: 4
Views: 4678

Re: Applying Matrix from svg parsing.

In your case if you only have scaling and translations (with no rotation or skew); then things simplify a bit. From the 2 matrixes in the first post, when multiplied gives: [ 1 0 tx ] [ sx 0 0 ] [ sx 0 tx ] [ 0 1 ty ] * [ 0 sy 0 ] = [ 0 sy ty ] [ 0 0 1 ] [ 0 0 1 ] [ 0 0 1 ] I didn't use the Pythagor...
by tomh
Mon Oct 31, 2011 10:09 am
Forum: SVG / XML Code
Topic: Applying Matrix from svg parsing.
Replies: 4
Views: 4678

Re: Applying Matrix from svg parsing.

Have a look at this answer: http://stackoverflow.com/questions/4361242/extract-rotation-scale-values-from-2d-transformation-matrix Not all values of a,b,c,d,tx,ty will yield a valid rotation sequence. I assume the above values are part of a 3x3 homogeneous rotation matrix in 2D | a b tx | A = | c d ...
by tomh
Sat Oct 29, 2011 12:39 am
Forum: Help with using Inkscape
Topic: How can I create an arrow with a contour for visibililty?
Replies: 2
Views: 1510

Re: How can I create an arrow with a contour for visibililty

1) Create a line 2) Add arrow marker on the line: select line, Object->Fill and stroke->Stroke style. Increase the stroke width to your liking. 3) convert the path into an object (Path->Stroke to Path) 4) Union the path and the marker to each other (select both, Path->Union) 5)Change the new objects...
by tomh
Tue Oct 25, 2011 4:38 am
Forum: General Discussions
Topic: Inkscape with 98se
Replies: 5
Views: 2494

Re: Inkscape with 98se

Inkscape 0.42 ( http://sourceforge.net/projects/inkscap ... pe/0.42.2/ ) was the last to support Windows 95/98/ME. See here: http://wiki.inkscape.org/wiki/index.php ... ME_support (the version that dropped the support).
by tomh
Mon Oct 24, 2011 10:16 pm
Forum: Help with using Inkscape
Topic: Help me with my 1st Inkscape Project
Replies: 3
Views: 2033

Re: Help me with my 1st Inkscape Project

1. I've made a cloud and then got it duplicate, now I need the second cloud to look squashed under load but all I can do is resize it and move it. I need only the top part to get resized (I hope am making sense) 2. I've made a speaker I need to trim off abstractly the lower portion of it (just a li...
by tomh
Fri Oct 21, 2011 9:36 am
Forum: Help with using Inkscape
Topic: cant get cmyk value to work
Replies: 3
Views: 1967

Re: cant get cmyk value to work

The problem is that Inkscape internally stores all colours as RGB and converts the values you enter into the RGB colorspace. The second problem is that there is no one "correct" CMYK colourspace, and there are multiple ways to convert between RGB and CMYK and back, and the values you enter...
by tomh
Tue Sep 27, 2011 7:55 pm
Forum: Help with using Inkscape
Topic: F7 and Zoom
Replies: 14
Views: 4508

Re: F7 and Zoom

Ok, things you need to make this work: The verb (Actions) name: SP_VERB_ZOOM_SELECTION, "ZoomSelection" (from http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/verbs.cpp) The KeyCode: #define GDK_KEY_F7 0xffc4 (from http://git.gnome.org/browse/gtk+/plain/gdk/gdkkeysym...

Go to advanced search