fixed the build, sorry

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12747 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-05-20 19:59:24 +00:00
parent 1218d80ff8
commit e980fe005f
3 changed files with 1 additions and 10 deletions

View File

@ -22,7 +22,6 @@
#include "AGGTextRenderer.h"
#include "DrawingMode.h"
#include "DrawingModeFactory.h"
#include "FontManager.h"
#include "PatternHandler.h"
#include "RenderingBuffer.h"
#include "ShapeConverter.h"

View File

@ -244,14 +244,6 @@ AGGTextRenderer::RenderString(const char* string,
}
if (glyphBounds.IsValid())
bounds = bounds.IsValid() ? bounds | glyphBounds : glyphBounds;
else {
if (bounds.IsValid()) {
bounds.right += glyph->advance_x;
bounds.bottom += glyph->advance_y;
} else {
bounds.Set(0.0, 0.0, glyph->advance_x, glyph->advance_y);
}
}
// increment pen position
advanceX = glyph->advance_x;

View File

@ -10,7 +10,7 @@
#include "agg_font_freetype.h"
#include "defines.h"
#include "TextRenderer.h"
#include "Transformable.h"
class ServerFont;