gfx

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2017 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package gfx contains drawing utilities for the SDL2 binding go-sdl2.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawString

func DrawString(r *sdl.Renderer, s string, x, y int)

DrawString draws a string. The y coordinate is the bottom line of the text.

func FillCircle

func FillCircle(r *sdl.Renderer, x0, y0, rad int)

FillCircle draws a filled circle.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL