diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-21 22:00:20 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-21 22:00:20 +0200 |
| commit | 8099f1775b6d9083e04b2f39700c2e90a0724aca (patch) | |
| tree | a145c7f1ec8aeb4aade2ffae4e2c50771ef9ec86 /src/OpenGL/GLBackend/Font/FontExtents.cs | |
| parent | f31ffd683210c50b777dce4e76d0d9912ca925a8 (diff) | |
glbackend tests, copy first try from hg reposglbackend
Diffstat (limited to 'src/OpenGL/GLBackend/Font/FontExtents.cs')
| -rw-r--r-- | src/OpenGL/GLBackend/Font/FontExtents.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/OpenGL/GLBackend/Font/FontExtents.cs b/src/OpenGL/GLBackend/Font/FontExtents.cs new file mode 100644 index 00000000..f8802440 --- /dev/null +++ b/src/OpenGL/GLBackend/Font/FontExtents.cs @@ -0,0 +1,39 @@ +using System; + +namespace go.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 () + { + } + } +} + |