canvas
                                
                                
                                
                                    canvas copied to clipboard
                            
                            
                            
                        Canvas is a Go drawing library based on OpenGL or using software rendering that is very similar to the HTML5 canvas API
As the title says, Can the following features be supported? * globalCompositeOperation * imageSmoothingEnabled
I used canvas in WSL2 on win10. When I call `sdlcanvas.CreateWindow`, it failed with error: ``` Error initializing SDL: No available video device ``` Then I switched to `glfwcanvas.CreateWindow` it...
I want save canvas as png photo. But the background is always black. ``` fDst, err := os.Create("out2.png") if err != nil { log.Fatal(err) } defer fDst.Close() err = png.Encode(fDst,...
This pulls in the changes @tfriedel6 suggested in the discussion in #29. Also added GetGlobalAlpha() to the Canvas to allow apps a way to set a new global alpha based...
Trying to use this on the latest macOS release (Big Sur) and when running, I get the following error message: ``` failed to compile vertex shader: ERROR: 0:2: '' :...
haloo I try to install this, but I can not to do it, I try many things, but still: # github.com/veandco/go-sdl2/sdl In file included from ..\github.com\veandco\go-sdl2\sdl\audio.go:4: ./sdl_wrapper.h:2:11: fatal error: SDL2/SDL.h:...
For some reason, my canvas is not the same size as the initial values i had originally passed to `sdlcanvas.CreateWindow()`. Here is some sample code. ```go package main import( "fmt"...
Hi there, thanks for your awesome library! It is refreshingly easy to use! I'm trying to use it to render a sequence of images in a `glfwcanvas`, but when I...
hello o/ my reasoning for this is that i wanted to use this [multiface](https://github.com/AndreKR/multiface) package to support font fallback but realized i couldnt use it since canvas basically only supports...
I hope there's a folder called examples that contains more API to explore.