hi thomas i have some problem with the thumbnail i can't arrive to show
a mini rectangle to select the area.
you can explain me and give me some example for it. This is my code i
try to do.
String Entree = "anne.svg";
String rep ="c:/batik/batik/samples/";
//ouverture du fichier
String svgURI = new File(rep+Entree).toURL().toString();
//creation de la frame
JFrame f = new JFrame("Thumbnail");
//creation du canevas
JSVGCanvas svgCanvas = new JSVGCanvas();
svgCanvas.setURI(svgURI);
final JPanel pane = new JPanel(new BorderLayout());
f.getContentPane().add(svgCanvas);
f.setSize(200, 200);
f.setResizable(false);
MarkerShapePainter msp = new MarkerShapePainter(new
Rectangle(0,0, 100, 100));
msp.paint((Graphics2D)f.getGraphics());
ThumbnailDialog td = new ThumbnailDialog(f,svgCanvas) ;
td.setInteractionEnabled(true);
f.setVisible(true);
thanks very much
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]