aboutsummaryrefslogtreecommitdiffstatsci
path: root/OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs')
-rw-r--r--OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs b/OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs
new file mode 100644
index 00000000..fba77cb0
--- /dev/null
+++ b/OTKCrow/OpenGL/GLBackend/Font/FontExtents.cs
@@ -0,0 +1,39 @@
+using System;
+
+namespace Crow.GLBackend
+{
+ public class FontExtents
+ {
+ double ascent;
+ double descent;
+ double height;
+ double maxXAdvance;
+ double maxYAdvance;
+
+ public double Ascent {
+ get { return ascent; }
+ set { ascent = value; }
+ }
+ public double Descent {
+ get { return descent; }
+ set { descent = value; }
+ }
+ public double Height {
+ get { return height; }
+ set { height = value; }
+ }
+ public double MaxXAdvance {
+ get { return maxXAdvance; }
+ set { maxXAdvance = value; }
+ }
+ public double MaxYAdvance {
+ get { return maxYAdvance; }
+ set { maxYAdvance = value; }
+ }
+
+ public FontExtents ()
+ {
+ }
+ }
+}
+