Hi Helder,
That's the point, I don't want multiple "svg" elements.
SO, I wanted to know what part of my code I have to change, for import only
a "g" element.
Can you paste the URL to your thread , to see what I have to do.
Thanks for the answer.
Helder Magalhães wrote:
>
>> what else , shou
"ele" variable is
> initialized to a root element which would be the element.
>
> Michael
>
> ____
>
> From: control_batik [mailto:[EMAIL PROTECTED]
> Sent: Wed 11/5/2008 10:20 AM
> To: batik-users@xmlgraphics.apache.org
> Subject:
Hi all,
I use these lines to add a tag into a new tag:
final Element root = basedocument.getDocumentElement();
final Element ele = newGraphElement.getRootelement();
elementToinsert = (Element)
newGraphElement.getRootelement().getElementsByTagName("g").item(0);
elementToinsert.
You are right again, i found the error, something in my logic, not a
batik thing.
Thanks again
--
View this message in context:
http://www.nabble.com/Some-white-areas-appear--after-many-zoom-in%2C-zoom-out-and-pan-actions-tp19460378p19693516.html
Sent from the Batik - Users mailing list archiv
You are right, it wasn't running on the UpdateManager's thread.
Now, My code is:
public void moveElement(final SVGGraphicElement e, final
Point2D.Double point) {
Runnable r = new Runnable() {
public void run() {
}
};
UpdateManager um = n
I realized something new.
Due to your question, I started to draw many icons, more than 378, and the
white regions didn't appear, but after this, I drag one , white areas
everywhere.
this is the way I drag an icon:
public void moveElement(SVGGraphicElement e, Point2D.Double point)
{
Oh Sorry ,
Here is the screenshot:
http://www.nabble.com/file/p19554103/whiteareasScreenShot.JPG
whiteareasScreenShot.JPG
--
View this message in context:
http://www.nabble.com/Some-white-areas-appear--after-many-zoom-in%2C-zoom-out-and-pan-actions-tp19460378p19554103.html
Sent from the Batik
Hi,
The screenshot:whitearea
sScreenShot.JPG
This line it's called only once , after create a new
document: svgCanvas.setSVGDocument((SVGDocument)
basedocument);
this line it's called only once, when I add to the empty
document the big svg file:
In this case ele is the element of the big svg
Hi Thomas,
Thank you for your answer
Well, when I add the small icons , i do it in the
UpdateManager's RunnableQueue.
I don't get any exceptions.
I am using these java VM parameters -Xms32m -Xmx500m, and
when I watch the memory consume of the process , it's not
bigger than 200m, so i think it
Hi everyone,
I am developing a simple svg editor with batik 1.7. I add small svg images
to an big one, a svg converted autocad plan of 7 MB or bigger. Each time i
click on a button , it loads an specific small icon , then i click over the
jsvgcanvas (with the big svg file like background) using
10 matches
Mail list logo