line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-01-20 15:23:23 +00:00
parent db94952b4f
commit 30fd3eb18a
2 changed files with 22 additions and 7 deletions
+3
View File
@@ -184,6 +184,7 @@ class Painter {
void _RebuildClipping();
void _UpdateFont();
void _UpdateLineWidth();
// drawing functions stroke/fill
void _DrawTriangle( BPoint pt1,
@@ -229,6 +230,8 @@ class Painter {
font_renderer_solid_type* fFontRendererSolid;
font_renderer_bin_type* fFontRendererBin;
agg::line_profile_aa fLineProfile;
// for internal coordinate rounding/transformation,
// does not concern rendering
bool fSubpixelPrecise;