I have extended a SVGpicture Widget just like picture;
The paintChildrenImpl function as:
protected void paintChildrenImpl(Graphics g) {
ScalableGraphics sg = ScalableGraphics.createInstance();
sg.bindTarget(g);
svgimage.setViewportWidth(g.getClipWidth()-20);
svgimage.setViewportHeight(g.getClipHeight()-10);
sg.render(10,5, svgimage);
sg.releaseTarget();
sg = null;}
my mainfrmae is a GridLayout Frame, when i make the layout as gridlayout(1,1),the SVG can be displayed,
but when I change to gridlayout(2,1), The first SVG can be displayed ,but the seconde can not IN SYMBIAN S60 FP-1 SYSTEM(My test phone is N81);
and I also can make the Desktop's bg-image displayed as svgpic,but I don't know why the mainframe can not?
I am also very confused : the maiframe can display all SVGpics in NOKIA 7310c,also in WTK semulator,BUT CAN'T IN N81;
hope helps ! THANKS!

