]> git.sesse.net Git - casparcg/blobdiff - core/producer/text/text_producer.h
[text_producer] Removed unused member function measure_string()
[casparcg] / core / producer / text / text_producer.h
index 05069cec5f6dcaf992d6c89a08198f65721dc44f..85eeb876910ff91fdea58253b409240960b794ca 100644 (file)
@@ -36,7 +36,7 @@
 #include "utils/text_info.h"
 
 namespace caspar { namespace core {
-       namespace text 
+       namespace text
        {
                void init(module_dependencies dependencies);
                std::vector<std::pair<std::wstring, std::wstring>> list_fonts();
@@ -45,17 +45,15 @@ namespace caspar { namespace core {
 class text_producer : public frame_producer_base
 {
 public:
-       text_producer(const spl::shared_ptr<frame_factory>& frame_factory, int x, int y, const std::wstring& str, 
+       text_producer(const spl::shared_ptr<frame_factory>& frame_factory, int x, int y, const std::wstring& str,
                text::text_info& text_info, long parent_width, long parent_height, bool standalone);
        static spl::shared_ptr<text_producer> create(const spl::shared_ptr<frame_factory>& frame_factory, int x, int y, const std::wstring& str, text::text_info& text_info, long parent_width, long parent_height, bool standalone = false);
-       
+
        draw_frame receive_impl() override;
        std::future<std::wstring> call(const std::vector<std::wstring>& param) override;
        variable& get_variable(const std::wstring& name) override;
        const std::vector<std::wstring>& get_variables() const override;
 
-       text::string_metrics measure_string(const std::wstring& str);
-
        constraints& pixel_constraints() override;
        std::wstring print() const override;
        std::wstring name() const override;