Expose FontData::{set,get}_fixed_size methods

This commit is contained in:
Danil Alexeev 2021-11-20 20:47:01 +03:00
parent 4ea87f36cd
commit 753d677343
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
2 changed files with 16 additions and 0 deletions

View file

@ -88,6 +88,9 @@ void FontData::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_msdf_size", "msdf_size"), &FontData::set_msdf_size);
ClassDB::bind_method(D_METHOD("get_msdf_size"), &FontData::get_msdf_size);
ClassDB::bind_method(D_METHOD("set_fixed_size", "fixed_size"), &FontData::set_fixed_size);
ClassDB::bind_method(D_METHOD("get_fixed_size"), &FontData::get_fixed_size);
ClassDB::bind_method(D_METHOD("set_force_autohinter", "force_autohinter"), &FontData::set_force_autohinter);
ClassDB::bind_method(D_METHOD("is_force_autohinter"), &FontData::is_force_autohinter);