diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-24 16:45:15 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-24 23:07:14 +0000 |
commit | 73231e4da21b2dc7173d7d971105fcb85392a6a9 (patch) | |
tree | b48b26cda764944e95a04dd9af8ebdc8acce1c0e /src/corelib/render | |
parent | a2a85925c48408272ecc1b0118d4d6b75ecac6bd (diff) | |
download | fpGUI-73231e4da21b2dc7173d7d971105fcb85392a6a9.tar.xz |
aggpas: Makes the agg_2D.pas unit compilable again.
Diffstat (limited to 'src/corelib/render')
-rw-r--r-- | src/corelib/render/software/agg_2D.pas | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/render/software/agg_2D.pas b/src/corelib/render/software/agg_2D.pas index 8bac06a1..45d88e44 100644 --- a/src/corelib/render/software/agg_2D.pas +++ b/src/corelib/render/software/agg_2D.pas @@ -325,7 +325,7 @@ type procedure clearAll(c : Color ); overload; procedure clearAll(r ,g ,b : unsigned; a : unsigned = 255 ); overload; - procedure FillAll(c: TAggColor); overload; + procedure FillAll(c: Color); overload; procedure FillAll(r, g, b: byte; a: byte = 255); overload; procedure clearClipBox(c : Color ); overload; @@ -426,7 +426,7 @@ type rxTop ,ryTop : double ); overload; procedure ellipse(cx ,cy ,rx ,ry : double ); - + procedure arc (cx ,cy ,rx ,ry ,start ,sweep : double ); procedure star(cx ,cy ,r1 ,r2 ,startAngle : double; numRays : int ); @@ -934,7 +934,7 @@ begin end; -procedure Agg2D.FillAll(c: TAggColor); +procedure Agg2D.FillAll(c: Color); var clr: aggclr; begin @@ -944,7 +944,7 @@ end; procedure Agg2D.FillAll(r, g, b: byte; a: byte); var - clr: TAggColor; + clr: Color; begin clr.Construct(r, g, b, a); FillAll(clr); |