You've already forked lazarus-ccr
fpvviewer: Improves page border drawing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3095 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -139,6 +139,12 @@ begin
|
|||||||
if checkForceWhiteBackground.Checked then Vec.GetPageAsVectorial(0).BackgroundColor := colWhite;
|
if checkForceWhiteBackground.Checked then Vec.GetPageAsVectorial(0).BackgroundColor := colWhite;
|
||||||
if not checkForceWhiteBackground.Checked then
|
if not checkForceWhiteBackground.Checked then
|
||||||
Vec.GetPageAsVectorial(0).DrawBackground(Drawer.Drawing.Canvas);
|
Vec.GetPageAsVectorial(0).DrawBackground(Drawer.Drawing.Canvas);
|
||||||
|
Vec.GetPageAsVectorial(0).Render(
|
||||||
|
Drawer.Drawing.Canvas,
|
||||||
|
FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosX,
|
||||||
|
Drawer.Drawing.Height - FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosY,
|
||||||
|
spinScale.Value,
|
||||||
|
-1 * spinScale.Value);
|
||||||
if checkShowPage.Checked then
|
if checkShowPage.Checked then
|
||||||
Vec.GetPageAsVectorial(0).RenderPageBorder(
|
Vec.GetPageAsVectorial(0).RenderPageBorder(
|
||||||
Drawer.Drawing.Canvas,
|
Drawer.Drawing.Canvas,
|
||||||
@@ -146,12 +152,6 @@ begin
|
|||||||
Drawer.Drawing.Height - FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosY,
|
Drawer.Drawing.Height - FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosY,
|
||||||
spinScale.Value,
|
spinScale.Value,
|
||||||
-1 * spinScale.Value);
|
-1 * spinScale.Value);
|
||||||
Vec.GetPageAsVectorial(0).Render(
|
|
||||||
Drawer.Drawing.Canvas,
|
|
||||||
FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosX,
|
|
||||||
Drawer.Drawing.Height - FPVVIEWER_SPACE_FOR_NEGATIVE_COORDS + Drawer.PosY,
|
|
||||||
spinScale.Value,
|
|
||||||
-1 * spinScale.Value);
|
|
||||||
Drawer.Invalidate;
|
Drawer.Invalidate;
|
||||||
finally
|
finally
|
||||||
Vec.Free;
|
Vec.Free;
|
||||||
|
Reference in New Issue
Block a user