class Core::Portable::BitmapInplaceFont

#include <corefont.h>

class BitmapInplaceFont: public Core::Portable::BitmapFont
{
public:
    // construction

    BitmapInplaceFont(
        CStringPtr name,
        const uint8* bitmapFileData,
        uint32 bitmapFileLength,
        const uint8* fontFileData,
        uint32 fontFileLength
    );
};

Inherited Members

public:
    // structs

    struct CharDescriptor;
    struct CharMap;
    struct ColorEntry;
    struct InplaceMap;
    struct KerningPair;
    struct LoadedMap;
    struct RenderScope;

    // fields

    static const Color kInvertColor;
     fontNumber;

    // methods

    PROPERTY_CSTRING_BUFFER(32, name, Name);
    FontNumber bool loadDescriptor(IO::Stream& stream);
    bool loadInplace(const uint8* fontFileData, uint32 fontFileLength);
    int getLineHeight() const;
    int getStringWidth(CStringPtr string, int length) const;

    void render(
        Graphics& graphics,
        Point pos,
        CStringPtr string,
        int length,
        ColorRef color
    ) const;