/
evo
/
Gtk4-tutorial
Обзор
Документация
Войти
/
evo
/
Gtk4-tutorial
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/tfe6/pfd2css.h
24 строки
640 B
Toshio Sekiya
Update section 1 to section23 to cover GTK version 4.10.
15 июл 2023, 11:27
15 июл 2023, 11:27
8aba1da
Код
Авторство
О чём код?
#pragma once #include <pango/pango.h> // Pango font description to CSS style string // Returned string is owned by the caller. The caller should free it when it becomes useless. char* pfd2css (PangoFontDescription *pango_font_desc); // Each element (family, style, weight and size) const char* pfd2css_family (PangoFontDescription *pango_font_desc); const char* pfd2css_style (PangoFontDescription *pango_font_desc); int pfd2css_weight (PangoFontDescription *pango_font_desc); // Returned string is owned by the caller. The caller should free it when it becomes useless. char * pfd2css_size (PangoFontDescription *pango_font_desc);