Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GiantScreenshot ¶
GiantScreenshot returns a rendered RGBA image of the entire level.
Only one thread should be doing this at a time. A sync.Mutex will cause an error to return if another goroutine is already in the process of generating a screenshot, and you'll have to wait and try later.
func SaveGiantScreenshot ¶
SaveGiantScreenshot will take a screenshot and write it to a file on disk, returning the filename relative to ~/.config/doodle/screenshots
func WallpaperToImage ¶
WallpaperToImage accurately draws the wallpaper into an Image.
The image is assumed to have a rect of (0,0,width,height) and that width and height are positive. Used for the Giant Screenshot feature.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.