X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=core%2Fproducer%2Ftext%2Futils%2Ftexture_font.h;h=11855adfaee4c14957a94795a8a0388af44607cd;hb=1678432d8cabef093a58e27791f68499c031dba9;hp=8adb06c117cf22c88b20e0147f91d54ff437e0dc;hpb=62527424dde04dc7542be01fb700f8540837a574;p=casparcg diff --git a/core/producer/text/utils/texture_font.h b/core/producer/text/utils/texture_font.h index 8adb06c11..11855adfa 100644 --- a/core/producer/text/utils/texture_font.h +++ b/core/producer/text/utils/texture_font.h @@ -22,8 +22,8 @@ class texture_font public: texture_font(texture_atlas&, const text_info&, bool normalize_coordinates); void load_glyphs(unicode_block block, const color& col); - void set_tracking(int tracking); - std::vector create_vertex_stream(const std::wstring& str, int x, int y, int parent_width, int parent_height, string_metrics* metrics); + void set_tracking(double tracking); + std::vector create_vertex_stream(const std::wstring& str, int x, int y, int parent_width, int parent_height, string_metrics* metrics, double shear = 0.0); string_metrics measure_string(const std::wstring& str); std::wstring get_name() const; double get_size() const; @@ -257,4 +257,4 @@ enum class unicode_block Supplementary_Private_Use_Area_B }; -}}} \ No newline at end of file +}}}