1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
15#define OSGTEXT_FONT3D 1
17#include <osgText/Font>
23#ifdef OSG_PROVIDE_READFILE
24/** deprecated, use readFontFile() instead.*/
25inline Font* readFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0)
27 return readFontFile(filename,userOptions);
30/** deprecated, use readFontStream() instead.*/
31inline Font* readFont3DStream(std::istream& stream, const osgDB::ReaderWriter::Options* userOptions = 0)
33 return readFontStream(stream, userOptions);
37/** deprecated, use readRefFontFile() instead.*/
38inline osg::ref_ptr<Font> readRefFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0)
40 return readRefFontFile(filename, userOptions);
43/** deprecated, use readRefFontStream() instead.*/
44inline osg::ref_ptr<Font> readRefFont3DStream(std::istream& stream, const osgDB::ReaderWriter::Options* userOptions = 0)
46 return readRefFontStream(stream, userOptions);
49/** deprecated, use findFontFile() instead.*/
50inline std::string findFont3DFile(const std::string& str)
52 return findFontFile(str);