Repository navigation
v1.0.1
What's Changed
Several fixes and new additions including the following:
begin()- changed to add options in any order eg backlight off at start.GetFrameBuffer()- returns the current selected draw to frame buffer.ReadImagePixel(int inum, int x, int y)- returns the color value of a GCI image at the x and y co-ordinates relative to the objects on-screen position.CopyImageLine(int inum, int x, int y, int w)- copies a line to the current selected frame buffer from a GCI image at the x and y co-ordinates relative to the objects on-screen position.HlineX(int x, int y, int w, int32_t color)- draws a Horizontal line with colour option switch, line can be a colour or from a GCI image or a frame buffer.VlineX(int x, int y, int w, int32_t color)- draws a Vertical line with colour option switch, line can be a colour or from a GCI image or a frame buffer.RectangleFilledX(int x0, int y0, int x1, int y1, int32_t color)- draws a Filled rectangle with colour option switch, Rectangle can be a colour or from a GCI image or a frame buffer.PutPixelAlpha(int x, int y, int32_t color, uint8_t alpha)- draws a pixel with colour option switch and alpha level, Pixel can be a colour or from a GCI image or a frame buffer.imageSetWord/imageGetWord- added option to change frame in GCI image set, allows the above new functions to get image data from a selected frameReadPixelFromFrameBuffer(uint16_t xrp, uint16_t yrp, uint8_t fb)- returns the color value of a framebuffer at the x and y co-ordinates relative to the source frame buffer position.CopyFrameBufferLine(int16_t x, int16_t y, int16_t w, int fb)- copy a line from source framebuffer to currently selected framebuffer