Documentation ¶
Overview ¶
Copyright (C) Egor This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. GNU Lesser General Public Licence is available at http://www.gnu.org/copyleft/lesser.html
Index ¶
- func DrawCircle(fb []uint8, y_center int, x_center int, radius int, r uint8, g uint8, b uint8)
- func DrawLine(fb []uint8, xstart int, xend int, ystart int, yend int, r uint8, g uint8, ...)
- func DrawRectangle(fb []uint8, xstart int, xend int, ystart int, yend int, r uint8, g uint8, ...)
- func DrawTestRainbow(fb []uint8, xstart int, xend int, ystart int, yend int)
- func GetResolution(fbName string) (resX, resY int)
- func InitFb() []uint8
- func SetPoint(fb []uint8, x int, y int, r uint8, g uint8, b uint8) []uint8
- func SetPointHue(fb []uint8, x int, y int, hue float64, saturation float64, value float64) []uint8
- func ShowPNG(fb []uint8, filepath string, dx int, dy int)
- func UpdateScreen(fb []uint8)
- func WriteWebp(data []uint8, width, height int, filepath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawCircle ¶
func DrawRectangle ¶
func GetResolution ¶
func SetPointHue ¶
func UpdateScreen ¶
func UpdateScreen(fb []uint8)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.