• Bodmer's avatar
    Performance enhancements, new functions, bug fixes · aa2c79a2
    Bodmer authored
    1. Ability to swap bytes in pushColors() and pushImage()
    2. pushImage() will handle FLASH stroed images
    3. pushImage() will accept a transparent color
    4. pushRect() deprecated but still works
    5. setSwapBytes() to set swapping bytes in color for pushImage() and
    pushColors() true or false
    6. getSwapBytes() returns swap bytes parameter
    7. fillCircle() and fillCircleHelper() changed to use horizontal lines
    to speed up plotting in a sprite
    8. fillTriangle bug fix by moving spi_begin()
    9  Small performance improvement to setAddrWindow()
    10. pushColor() bug fix for swapped bytes
    11. pushColors() performance improvement for ESP8266 and add optional
    byte swap parameter, accepts higher pixel count
    12. move spi_begin() later in drawLine() incase fn returns early
    13. add spi_end() in drawLine incdae return occurs early
    14. Add color332() fn to convert 16 bit to 8 bit colour
    15. Sprite: createSprite() checks if sprite already created and returns
    pointer if it does
    16. Sprite: one extra "off-screen pixel added to a sprite to point
    out-of-bounds setWindow coords to
    this avoids extra bounds checks in push/write color
    17. Sprite: setColorDepth allows changing of depthe for existing sprtie
    and returns a new pointer to the new sprite
    18. Sprite: pushImage() accepts a swapped byte parameter
    19. Sprite: setSwapBytes() to set swapping bytes in color for
    pushImage() and pushColors() true or false
    20. Sprite: getSwapBytes() returns swap bytes parameter
    21. Sprite: setWindow deals with duff out of sprite coords.
    22. Sprite: bug in draw char corrected which could draw too many
    over-writing pixels
    aa2c79a2
User_Setup_Select.h 3.6 KB