summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-10-22 15:35:36 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-10-22 15:35:36 +0100
commit023aea10cc61dfef406cd39b8cf76be65a9df134 (patch)
tree8f0828ce4c2759371b014695a666b6a49623b5f1
parent14541f7846cc24c5ce35f03e25d9fe7c5fa6ee28 (diff)
downloadfpGUI-023aea10cc61dfef406cd39b8cf76be65a9df134.tar.xz
agg_2D: fixes compilation errors.
The interface did not match the implementation section. My fault for not doing a good enough sync with agg2d.pas! :-/
-rw-r--r--src/corelib/render/software/agg_2D.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/render/software/agg_2D.pas b/src/corelib/render/software/agg_2D.pas
index 4ffe3bd1..0fcbc3d9 100644
--- a/src/corelib/render/software/agg_2D.pas
+++ b/src/corelib/render/software/agg_2D.pas
@@ -414,9 +414,9 @@ type
opt : ViewportOption = XMidYMid );
// Basic Shapes
- procedure line (x1 ,y1 ,x2 ,y2 : double );
+ procedure line (const x1 ,y1 ,x2 ,y2 : double; AFixAlignment: boolean = false );
procedure triangle (x1 ,y1 ,x2 ,y2 ,x3 ,y3 : double );
- procedure rectangle(x1 ,y1 ,x2 ,y2 : double );
+ procedure rectangle(const x1 ,y1 ,x2 ,y2 : double; AFixAlignment: boolean = false);
procedure roundedRect(x1 ,y1 ,x2 ,y2 ,r : double ); overload;
procedure roundedRect(x1 ,y1 ,x2 ,y2 ,rx ,ry : double ); overload;
@@ -443,7 +443,7 @@ type
fileName : char_ptr; height : double;
bold : boolean = false;
italic : boolean = false;
- ch : FontCacheType = RasterFontCache;
+ ch : FontCacheType = VectorFontCache;
angle : double = 0.0 );
function fontHeight : double;