RAMSES Documentation  27.0.130
Information for RAMSES users and developers
IFontAccessor.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2018 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_IFONTACCESSOR_H
10 #define RAMSES_IFONTACCESSOR_H
11 
13 
14 namespace ramses
15 {
16  class IFontInstance;
17 
27  {
28  public:
32  virtual ~IFontAccessor() = default;
33 
39  virtual IFontInstance* getFontInstance(FontInstanceId fontInstanceId) const = 0;
40  };
41 }
42 
43 #endif
#define RAMSES_API
Definition: APIExport.h:35
Interface for getting font instances using font instance ids.
Definition: IFontAccessor.h:27
virtual IFontInstance * getFontInstance(FontInstanceId fontInstanceId) const =0
Gets a font instance object using font instance id.
virtual ~IFontAccessor()=default
Empty destructor.
Interface for font instance that can be used to query glyph metadata and bitmaps.
Definition: IFontInstance.h:23
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15