Documentation ¶
Index ¶
- func RGB565ToRGBA(c uint16) color.RGBA
- func RGBATo565(c color.RGBA) uint16
- type Client
- func (c *Client) ClearBuffer()
- func (c *Client) ClearDisplay()
- func (c *Client) Display() error
- func (c *Client) DrawRGBBitmap(x, y int16, data []uint16, w, h int16) error
- func (c *Client) DrawRGBBitmap8(x, y int16, data []uint8, w, h int16) error
- func (c *Client) DrawRectangle(x, y, width, height int16, clr color.Color) error
- func (c *Client) FillRectangle(x, y, width, height int16, clr color.Color) error
- func (c *Client) FillScreen(clr color.Color)
- func (c *Client) GetPressedKey() uint16
- func (c *Client) ReadTouchPoint() touch.Point
- func (c *Client) Set(x, y int, clr color.Color)
- func (c *Client) SetImage(img draw.Image)
- func (c *Client) SetPixel(x, y int16, clr color.RGBA)
- func (c *Client) Size() (x, y int16)
- func (c *Client) Tick()
- func (c *Client) WaitUntilIdle()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RGB565ToRGBA ¶
Types ¶
type Client ¶
type Client struct { Client *rpc.Client draw.Image Width int Height int // contains filtered or unexported fields }
func (*Client) ClearBuffer ¶
func (c *Client) ClearBuffer()
func (*Client) ClearDisplay ¶
func (c *Client) ClearDisplay()
func (*Client) DrawRGBBitmap ¶
func (*Client) DrawRGBBitmap8 ¶
func (*Client) DrawRectangle ¶
func (*Client) FillRectangle ¶
func (*Client) FillScreen ¶
func (*Client) GetPressedKey ¶
func (*Client) ReadTouchPoint ¶
func (*Client) WaitUntilIdle ¶
func (c *Client) WaitUntilIdle()
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
examples
|
|
pyportal_boing
Port of Adafruit's "pyportal_boing" demo found here: https://github.com/adafruit/Adafruit_ILI9341/blob/master/examples/pyportal_boing
|
Port of Adafruit's "pyportal_boing" demo found here: https://github.com/adafruit/Adafruit_ILI9341/blob/master/examples/pyportal_boing |
Click to show internal directories.
Click to hide internal directories.