summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-23 01:22:07 -0500
committerPietro Gagliardi <[email protected]>2015-12-23 01:22:07 -0500
commitfbbb380f64db002d489294a80a4cab982a8b7c5f (patch)
tree6939cd2e73275cecd3cd7a24941d244ce318cc41 /draw.go
parenta88de722b36b621786eeb1053da42b6f3a6eeeda (diff)
More documentation.
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/draw.go b/draw.go
index e02b1b1..a465a4f 100644
--- a/draw.go
+++ b/draw.go
@@ -74,6 +74,8 @@ package ui
// }
import "C"
+// BUG(andlabs): Ideally, all the drawing APIs should be in another package ui/draw (they all have the "uiDraw" prefix in C to achieve a similar goal of avoiding confusing programmers via namespace pollution); managing the linkage of the libui shared library itself across multiple packages is likely going to be a pain, though. (Custom controls implemented using libui won't have this issue, as they *should* only need libui present when linking the shared object, not when linking the Go wrapper. I'm not sure; I'd have to find out first.)
+
// Path represents a geometric path in a drawing context.
// This is the basic unit of drawing: all drawing operations consist of
// forming a path, then stroking, filling, or clipping to that path.