.I do try to compile fpvviewer.
I got it from here:
https://svn.code.sf.net/p/lazarus-ccr/svn/applications/fpvviewer/And I took fpvvectrorial.lpk from here:
http://code.ohloh.net/project?pid=inrG8KdJiUI&did=components%2Ffpvectorial&cid=sIQrfQPsIho&fp=301989&projSelected=trueWhen I try to compile the app, I get the following error:
fpvv_mainform.pas(137,51) Error: identifier idents no member "GetPageAsVectorial" several times.
The content of one of the lines is:
if checkForceWhiteBackground.Checked then Vec.GetPageAsVectorial(0).BackgroundColor := colWhite;I get yet another error:
fpvv_mainform.pas(337,19) Error: Identifier not found "TvPage"
on line
lCurPage: TvPage;Is
GetPageAsVectorial an obsolete property?
Or could someone give me a working example on displaying a SVG or converting it to a raster image? Wiki examples are too far away from working, too.
EDIT: I replaced
GetPageAsVectorial(0) with
GatPage(0) and
TvPage with
TvVectorialPage.
I tried to replace
lCurPage.CalculateDocumentSize(); with
lCurPage.GuessDocumentSize(); but it did not recognize
GuessDocumentSize. So, now when I load a document a press the Visualize button I see something. I have created an ellipse with InkScape, but I see a filled arc, instead.
I have attached the SVG file, if someone finds it useful.