gg is a library for rendering 2D graphics in pure Go. There are lots of examples included. They're mostly for testing the code, but they're good for learning, too. It is often desired to center an image at a point. Use DrawImageAnchored with ax and ay set to 0.5 to do this. Use 0 to left or top align. Use 1 to right or bottom align. DrawStringAnchored does the same for text, so you don't need to call MeasureString yourself. gg supports linear, radial and conic gradients and surface patterns. You can also implement your own patterns. It is often desired to rotate or scale about a point that is not the origin. The functions RotateAbout, ScaleAbout, ShearAbout are provided as a convenience.

Features

  • There are a few ways of creating a context
  • Draw Functions
  • Color Functions
  • Text Functions
  • Stroke & Fill Options
  • Gradients & Patterns

Project Samples

Project Activity

See All Activity >

Categories

Multimedia

License

MIT License

Follow Go Graphics

Go Graphics Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Go Graphics!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Multimedia Software

Registered

2023-01-12