summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2016-04-15 00:18:39 -0400
committerPietro Gagliardi <[email protected]>2016-04-15 00:18:39 -0400
commit08823edfec3e11008069f4e4401873a08753d6bf (patch)
treee5b095269c00546d1a760625f88cba85283de1da /draw.go
parentffc857e55c60b09eccc5a7fad122c6347331c3bf (diff)
Removed the text gravity stuff. That will be removed.
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/draw.go b/draw.go
index bc1971e..6b783f6 100644
--- a/draw.go
+++ b/draw.go
@@ -656,8 +656,6 @@ const (
TextStretchUltraExpanded
)
-// TODO put TextGravity here
-
// FontDescriptor describes a Font.
type FontDescriptor struct {
Family string
@@ -666,7 +664,6 @@ type FontDescriptor struct {
Italic TextItalic
SmallCaps bool
Stretch TextStretch
- // TODO gravity
}
// Font represents an actual font that can be drawn with.
@@ -696,8 +693,6 @@ func LoadClosestFont(desc *FontDescriptor) *Font {
d.Italic = C.uiDrawTextItalic(desc.Italic)
d.SmallCaps = frombool(desc.SmallCaps)
d.Stretch = C.uiDrawTextStretch(desc.Stretch)
-// d.Gravity = C.uiDrawTextGravity(desc.Gravity)
- d.Gravity = C.uiDrawTextGravitySouth
return &Font{
f: C.newFont(d),
}