summaryrefslogtreecommitdiff
path: root/src/corelib/render/software/agg_basics.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-29 13:03:12 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-29 13:03:12 +0200
commita8123f4f1a9745cbbe43e7a5278c26427c264700 (patch)
tree2e9ea75065a577fac794fdd13984bc9dfd3d5ce4 /src/corelib/render/software/agg_basics.pas
parente055df17cb0f1458114554fb2067e5301a84e1ef (diff)
downloadfpGUI-a8123f4f1a9745cbbe43e7a5278c26427c264700.tar.xz
agg: code completion of method parameters for some units.
The implementation section of the units did not have the method parameters specified. This is allowed, but makes it hard to work in the implementation section.
Diffstat (limited to 'src/corelib/render/software/agg_basics.pas')
-rw-r--r--src/corelib/render/software/agg_basics.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/render/software/agg_basics.pas b/src/corelib/render/software/agg_basics.pas
index 17833522..cc116cfe 100644
--- a/src/corelib/render/software/agg_basics.pas
+++ b/src/corelib/render/software/agg_basics.pas
@@ -448,7 +448,7 @@ begin
end;
{ NORMALIZE }
-function rect.normalize;
+function rect.normalize: rect_ptr;
var
t : int;
@@ -474,7 +474,7 @@ begin
end;
{ CLIP }
-function rect.clip;
+function rect.clip(r: rect_ptr): boolean;
begin
if x2 > r.x2 then
x2:=r.x2;
@@ -493,7 +493,7 @@ begin
end;
{ IS_VALID }
-function rect.is_valid;
+function rect.is_valid: boolean;
begin
result:=(x1 <= x2 ) and (y1 <= y2 );