/*****************************************************************************
* generic_font.hpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
- * $Id: generic_font.hpp,v 1.1 2004/01/03 23:31:33 asmax Exp $
+ * Copyright (C) 2003 the VideoLAN team
+ * $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
- * Olivier Teulière <ipkiss@via.ecp.fr>
+ * Olivier Teulière <ipkiss@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef GENERIC_FONT_HPP
/// Render a string on a bitmap.
/// If maxWidth != -1, the text is truncated with '...'
- /// rAscent is filled with the maximum ascent of the glyphs in
- /// the string (for explanations, see:
- /// http://www.freetype.org/freetype2/docs/tutorial/step2.html)
+ /// The Bitmap is _not_ owned by this object
virtual GenericBitmap *drawString( const UString &rString,
uint32_t color, int maxWidth = -1 ) const = 0;
-
/// Get the font size
virtual int getSize() const = 0;