guidelines bug in trunk
by SorinN
steps to reproduce in Ubuntu 11.4 (with cairo-1.11.2)
1) open a new file
2) drag a new guideline somewhere
3) push back the guideline to the canvas - top or left border (where
rulers are located).
4) crash
probably is just me but some others can check
--
Nemes Ioan Sorin
12 years, 4 months
X,Y Coordinate
by mahendra1
Hello
I have to find X,Y coordinated of object with use of source code.I don't
wants to use Extension option.
I try to write code for the same ,It gives only one objects coordinate.The
following code i write for get
X,Y coordinated.
Please let me know how can i get XY coordinate All SPObject on screen .
FILE *fp;
fp=fopen("D:\\Data.txt","w");
SPDocument *doc=inkscape_active_document();
if(doc == NULL )
{
return true;
}
Inkscape::XML::Node *root = doc->getReprRoot();
Inkscape::XML::Node *path = sp_repr_lookup_name(root,
"svg:path", -1); //
if ( path == NULL )
{
doc->doUnref();
return true;
}
gchar const *svgd = path->attribute("d");
fprintf(fp,"PATH2: %s\n", svgd);
}
Thanks
--
View this message in context: http://old.nabble.com/X%2CY-Coordinate-tp32044215p32044215.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
12 years, 4 months
GtkObject deprecation
by Alex Valavanis
Hi All,
I reported bug #813212
<https://bugs.launchpad.net/inkscape/+bug/813212> a couple of days
ago, which deals with the deprecation of GtkObject in GTK+ 3. I have
taken a quick look at fixing the problem, but there a couple of things
I'm not confident about. Perhaps someone with more GTK+ experience
could help out here?
One of the main issues here is that SPCanvasItem (our custom
implementation of GnomeCanvas) is a subclass of GtkObject. GNOME
Evolution got round this problem in their own copy of GnomeCanvas by
changing the parent class to GObject. This introduces a couple of
issues that I could use some help with:
1) What do we do about the "::destroy" signal? GObject has no such
signal... there is a "::dispose", but is it functionally equivalent?
Can we just rename all the gtk_object_destroy calls to
g_object_run_dispose, and replace the custom GtkObject.destroy
implementations with GObject.dispose? Does the same apply for
GtkObjectClass and GObjectClass?
2) What do we do about the GtkObjectFlags enumeration? This is
deprecated, and no equivalent is available in GObject. Can we just
add a typedef for a "SPCanvasItemFlags" enumeration in
sp-canvas-item.h, and add a "guint32 flags" member to SPCanvasItem?
Thanks,
Alex
12 years, 4 months
Developer/Translator Poll
by Josh Andler
Hey All,
Windows devs, what version of Win are you all running regularly? Do many
still run XP or 2000? (I know user-wise they're still pretty common, just
not sure in our circle)
On the Linux side, I'm trying to get a feel for how old the distros everyone
uses are... does anyone lag any older than one "LTS" for example? Do people
tend to upgrade with every release? For me, I tend to run whatever the next
release of Ubuntu is (so I'm using what will be 10.10 for example)... what
can I say other than I like bleeding. ;)
On the Mac side, what are your upgrade habits?
There is relevance to me asking this, but I will hold off on sharing until
there's a bit of feedback.
Cheers,
Josh
12 years, 4 months
revision number in about screen
by gespertino@...400...
Hi
I'm using devel versions from PPA for trunk and I noticed that the
about screen doesn't show the revision number (it just shows
"0.48+devel r").
It showed the revision number in previous versions, so I assume
something broke there (I can't tell when, but at least in the last two
trunk builds from PPA)
Gez.
12 years, 4 months
<text> & <title> bug
by Oleg
Hi, all!
I use inkscape version 0.48.1 r (May 14 2011). Yesterday i saw a strange
behaviour of a text element. Inkscape show me the text from the file:
<?xml version="1.0" standalone="yes"?>
<svg width="210mm"
height="297mm"
version="1.1"
xmlns="http://www.w3.org/2000/svg">
<text x="72mm" y="38mm" dx="0mm 2mm 4mm 2mm 4mm 2mm 2mm 2mm">
<title>some title</title>
12072011
</text>
</svg>
as "1 20 72011", instead of "12 07 2011". If i delete the title element or
comment it, the text element show me as needed.
Is this a bug or may be i do anything wrong?
Thanks.
12 years, 4 months
2geom/isnan.h
by Jasper van de Gronde
When I try to compile trunk I get:
Make error line 303: problem compiling: In file included from
src/libnr/test-nr.
cpp:13:0:
./src/libnr/in-svg-plane-test.h:7:25: fatal error: 2geom/isnan.h: No
such file o
r directory
Any ideas? Seems like a weird kind of file to be missing, so am I using
the wrong version of GCC or something? (This is on Windows, using the
latest devlibs and trunk.)
12 years, 4 months
Debugging Inkscape on Linux
by Diederik van Lierop
Hi all,
If try debugging inkscape using gdb on Linux, then you will have noticed
that in some cases xserver will become unresponsive. This happens for
example if you hit a breakpoint or assert while you were dragging an
object. Years ago, one of our developers blogged about a trick to run
gdb on a virtual terminal and have inkscape still run within the
xserver. I cannot recall however who it was and were it was posted, but
it was a cumbersome workaround anyway because you had to operate gdb
from a terminal (something I've never been able to master). I've now
learned a better way to do this, using gdb from within Elipse which
allows you to inspect any variable by using your mouse only. That's a
level I can handle ;-)
See http://developer.gnome.org/gtk-faq/stable/x461.html for an
explanation. I couldn't manage to get the first option working (btw
--sync has been deprecated as of recently, see
http://lists.fedoraproject.org/pipermail/test/2011-February/097248.html). The
Xnest option however works flawlessly on my Fedora 15 system.
I only wished that I had known about this years ago...
PS: xorg-x11-twm and xorg-x11-server-Xnest must be installed
Diederik
12 years, 4 months