summaryrefslogtreecommitdiff
path: root/src/corelib/render
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 19:23:28 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 19:23:28 +0200
commit2a91a1c179cbda6d87b130749d18d50d8bb2fa36 (patch)
tree15030b3d87508352ee6269f13166b291f1457074 /src/corelib/render
parentec9ef42792cf03bd7457ae916de8b92a8d3db73b (diff)
downloadfpGUI-2a91a1c179cbda6d87b130749d18d50d8bb2fa36.tar.xz
agg: various code formatting improvements
Diffstat (limited to 'src/corelib/render')
-rw-r--r--src/corelib/render/software/agg_font_cache_manager.pas2
-rw-r--r--src/corelib/render/software/agg_font_freetype.pas8
-rw-r--r--src/corelib/render/software/platform/linux/agg_platform_support.pas2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/render/software/agg_font_cache_manager.pas b/src/corelib/render/software/agg_font_cache_manager.pas
index c7a1ac46..9dfb597a 100644
--- a/src/corelib/render/software/agg_font_cache_manager.pas
+++ b/src/corelib/render/software/agg_font_cache_manager.pas
@@ -409,7 +409,7 @@ begin
end;
{ CONSTRUCT }
-constructor font_cache_manager.Construct;
+constructor font_cache_manager.Construct(engine : font_engine_ptr; max_fonts : unsigned);
begin
m_fonts.Construct(max_fonts );
diff --git a/src/corelib/render/software/agg_font_freetype.pas b/src/corelib/render/software/agg_font_freetype.pas
index 4035c4fa..bad37233 100644
--- a/src/corelib/render/software/agg_font_freetype.pas
+++ b/src/corelib/render/software/agg_font_freetype.pas
@@ -906,13 +906,13 @@ begin
idx:=find_face(font_name );
if idx >= 0 then
- begin
+ begin
m_cur_face:=FT_Face_ptr_ptr(ptrcomp(m_faces ) + idx * sizeof(FT_Face_ptr ) )^;
m_name :=PChar(face_name_ptr(ptrcomp(m_face_names ) + idx * sizeof(face_name ) ).name );
- end
+ end
else
- begin
+ begin
if m_num_faces >= m_max_faces then
begin
agg_freemem (pointer(m_face_names.name ) ,m_face_names.size );
@@ -977,7 +977,7 @@ begin
end;
- end;
+ end;
if m_last_error = 0 then
begin
diff --git a/src/corelib/render/software/platform/linux/agg_platform_support.pas b/src/corelib/render/software/platform/linux/agg_platform_support.pas
index bbe3e832..abe8ef2a 100644
--- a/src/corelib/render/software/platform/linux/agg_platform_support.pas
+++ b/src/corelib/render/software/platform/linux/agg_platform_support.pas
@@ -2512,4 +2512,4 @@ begin
end;
END.
-
+ \ No newline at end of file