You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Filipe Marinho <fi...@SE.EFACEC.PT> on 2005/07/07 12:26:11 UTC
invisible symbols
hi again!
well i have a jsvgcanvas where i draw may svg.
when the svg is bigger than the canvas the image gets invisible.
I say that because i scroll right with the arrow keys and i click the mouse
on top of the symbols drawned (but i cant see them ) and i have the expected
result as the symbol is there.
I've introduced a jsvgscrollpane and the result is the same. The scroll bars
only appear when i scroll with the arrows. and beyond that the symbols are
invisible.
bottom line : how can i insure that the svg is drawned beyond the canvas
visible limits.
thanks
---------------------------------------------------------------
Filipe Marinho
filipe.marinho@se.efacec.pt
> EFACEC Sistemas de Electrónica, S.A
> Rua Engº Frederico Ulrich
> Apart. 3078 - 4471-907 Moreira Maia
> PORTUGAL
Telf 229402000
---------------------------------------------------------------
Re: invisible symbols
Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Filipe,
Filipe Marinho wrote:
> well i have a jsvgcanvas where i draw may svg.
> when the svg is bigger than the canvas the image gets invisible.
> I say that because i scroll right with the arrow keys and i click the
> mouse on top of the symbols drawned (but i cant see them ) and i have
> the expected result as the symbol is there.
This is due to clipping to the viewport. You have three options
to avoid this. First you can set your initial viewBox to include all
the content you want, this may not be ideal as it will cause the
initial view to be 'zoomed out' to show everything. Second you
can set the 'clip' property to an appropriate value (something
that includes the entire contents you want shown). Third you
can set the 'overflow' property to 'visible', this will effectively
turn off clipping due to the viewport.
> I've introduced a jsvgscrollpane and the result is the same. The scroll
> bars only appear when i scroll with the arrows. and beyond that the
> symbols are invisible.
>
> bottom line : how can i insure that the svg is drawned beyond the canvas
> visible limits.
>
> thanks
>
> ---------------------------------------------------------------
> Filipe Marinho
> filipe.marinho@se.efacec.pt
> EFACEC Sistemas de Electrónica, S.A
> Rua Engº Frederico Ulrich
> Apart. 3078 - 4471-907 Moreira Maia
> PORTUGAL
> Telf 229402000
> ---------------------------------------------------------------
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org