Created FAQ (markdown)

Hajime Hoshi 2017-08-19 20:08:13 +09:00
parent 49965fbc75
commit fa455242af

11
FAQ.md Normal file

@ -0,0 +1,11 @@
# Graphics
## How to draw lines?
Use [`ebitenutil.DrawLine`](http://godoc.org/github.com/hajimehoshi/ebiten/ebitenutil#DrawLine). Note that this function is only for debugging and prototyping only.
See [the discussion #137](https://github.com/hajimehoshi/ebiten/issues/137) on other primitive drawings.
## How to take a screenshot?
As a `ebiten.Image` is just a standard `image.Image`, you can pass it to, e.g. `png.Decode`.