diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:42:33 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:42:33 +0200 |
commit | 6eec4631cf766e4fc7f28faad59f8acad1779461 (patch) | |
tree | dc9d16f4c9e497aea14fd32fefd2c5590441e083 /src/corelib/render/software | |
parent | cdae6655edf4a116f6cd688cff71409f7d66ee40 (diff) | |
download | fpGUI-6eec4631cf766e4fc7f28faad59f8acad1779461.tar.xz |
agg: moved IFDEF's so code is easier to read + no compiler warnings
Diffstat (limited to 'src/corelib/render/software')
-rw-r--r-- | src/corelib/render/software/Agg2D.pas | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index 3e648abe..b1eda9f8 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -2627,6 +2627,11 @@ procedure TAgg2D.Text( roundOff : boolean = false; ddx : double = 0.0; ddy : double = 0.0 ); +{$IFDEF AGG2D_NO_FONT} +begin + +end; +{$ELSE} var dx ,dy ,asc ,start_x ,start_y : double; @@ -2643,7 +2648,6 @@ var tr : conv_transform; begin - {$IFNDEF AGG2D_NO_FONT} dx:=0.0; dy:=0.0; @@ -2746,8 +2750,8 @@ begin inc(i ); end; - {$ENDIF} end; +{$ENDIF} { RESETPATH } procedure TAgg2D.ResetPath; |