<commit_before>// Copyright 2015-2019 <NAME>. All rights reserved.

#ifndef OUZEL_GUI_FONT_HPP
#define OUZEL_GUI_FONT_HPP

#include <cstdint>
#include <string>
#include <map>
#include <memory>
#include <unordered_map>
#include <vector>
#include "math/Color.hpp"
#include "graphics/Texture.hpp"
#include "graphics/Vertex.hpp"

namespace ouzel
{
    namespace gui
    {
        class Font
        {
        public:
            Font() = default;
            virtual ~Font();

            Font(const Font&) = delete;
            Font& operator=(const Font&) = delete;

            Font(Font&&) = delete;
            Font& operator=(Font&&) = delete;

            virtual void getVertices(const std::string& text,
                                     Color color,
                                     float fontSize,
                                     const Vector2F& anchor,
                                     std::vector<uint16_t>& indices,
                                     std::vector<graphics::Vertex>& vertices,
                                     std::shared_ptr<graphics::Texture>& texture) = 0;
        };
    } // namespace gui
} // namespace ouzel

#endif // OUZEL_GUI_FONT_HPP<commit_msg>Add missing body to the destructor of Font<commit_after>// Copyright 2015-2019 <NAME>. All rights reserved.

#ifndef OUZEL_GUI_FONT_HPP
#define OUZEL_GUI_FONT_HPP

#include <cstdint>
#include <string>
#include <map>
#include <memory>
#include <unordered_map>
#include <vector>
#include "math/Color.hpp"
#include "graphics/Texture.hpp"
#include "graphics/Vertex.hpp"

namespace ouzel
{
    namespace gui
    {
        class Font
        {
        public:
            Font() = default;
            virtual ~Font() {}

            Font(const Font&) = delete;
            Font& operator=(const Font&) = delete;

            Font(Font&&) = delete;
            Font& operator=(Font&&) = delete;

            virtual void getVertices(const std::string& text,
                                     Color color,
                                     float fontSize,
                                     const Vector2F& anchor,
                                     std::vector<uint16_t>& indices,
                                     std::vector<graphics::Vertex>& vertices,
                                     std::shared_ptr<graphics::Texture>& texture) = 0;
        };
    } // namespace gui
} // namespace ouzel

#endif // OUZEL_GUI_FONT_HPP
{'fraction_non_alphanumeric': 0.104636848584325, 'fraction_numerical': 0.009848173984407058, 'mean_word_length': 1.5963791267305645, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2084830', 'n_tokens_mistral': 694, 'n_tokens_neox': 649, 'n_words': 160}