Cairo-Chart/src/FontStyle.vala

26 lines
553 B
Vala
Raw Normal View History

2017-08-28 14:47:31 +03:00
namespace Gtk.CairoChart {
public enum FontOrient {
HORIZONTAL = 0,
VERTICAL
}
public struct FontStyle {
string family;
Cairo.FontSlant slant;
Cairo.FontWeight weight;
FontOrient orientation;
double size;
public FontStyle (string family = "Sans",
Cairo.FontSlant slant = Cairo.FontSlant.NORMAL,
Cairo.FontWeight weight = Cairo.FontWeight.NORMAL,
double size = 10) {
this.family = family;
this.slant = slant;
this.weight = weight;
this.size = size;
}
}
}