The Vish Visualization Shell 0.3
Vish
Wizt::VRenderContext::Font Class Referenceabstract

Base class for fonts. More...

#include <ocean/Anemonia/VRenderContext.hpp>

Inheritance diagram for Wizt::VRenderContext::Font:
MemCore::ReferenceBase< Font >

Classes

struct  Type
 Bits describing the properties of a font. More...

Public Types

enum class  RenderHint
 Instructions on how to draw a font.
Public Types inherited from MemCore::ReferenceBase< Font >
using reference_domain_t
 The type of the base class.
using SelfPtr_t
 Type for a pointer to this object itself.

Public Member Functions

virtual void render (const string &s)=0
 Draw some font at the coordinate origin.
Public Member Functions inherited from MemCore::ReferenceBase< Font >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< Font, Font > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
refcount_t refcount () const noexcept
 The strong reference count.
 ReferenceBase (Font *that) noexcept
 Constructor, initializes reference counter to zero.
const auto & self () const
 Return weak pointer to the object self.
refcount_t wrefcount () const noexcept
 The weak reference count.

Additional Inherited Members

Protected Member Functions inherited from MemCore::ReferenceBase< Font >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
void suicide ()
 Delete this.
virtual ~ReferenceBase ()
 Virtual destructor.

Detailed Description

Base class for fonts.

Instances of Font objects need to be implemented in a child class of VRenderContext by overriding VRenderContext::getFont() .