Jump to content

ktowers

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by ktowers

  1. I'm trying to migrate from another graphics library (u8g2) to uGFX to get eventual support for color screens. I have a number of ROM based bitmaps that are stored in native format. For this display, it is 1 bit per pixel. I tried used the gdispGBlitArea() function to draw them, but found that it assumes pixels take a minimum of one byte. I worked around the problem by enabling the GDISP_HARDWARE_BITFILLS macro and doing the blitting in my driver by implementing gdisp_lld_blit_area(). Is there a plan to add more support at the gdisp layer for native formats? One of the features that the u8g2 library had was to draw bitmaps with a transparent background. I notice that there is support for blending the alpha channel for bitmaps in the gdisp.c file. This would be the place to add support for similar transparent background in bitmap. What are the plans for this? I really don't want to have to push down the alpha blending stuff into my driver code.
×
×
  • Create New...