DRAW ARC causing GIF to be stopped for fraction of seconds

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • DRAW ARC causing GIF to be stopped for fraction of seconds

      Hi Team,


      I am using NXP MIMXRT1064xxx controller with EMWIN library for my 7 inch display(800x480) drawing purpose.


      Description of Screen and widgets:
      • Screen consists of total 22 widgets :
        • Among which main 4 GIFs needs to be drawn continuously
          • Created separate CHILD window(WM_CreateWindowAsChild) for each GIFs and used ANIMATED SPRITE for drawing each sub images of GIFs
        • 4 Arcs to be drawn with overlapping 2 Arcs on top of other 2 Arcs + Rotated Bitmap Image to be drawn inside all 4 Arcs using creation of Memory Device (GUI_MEMDEV_CreateFixed32 and GUI_MEMDEV_WriteAt APIs are used)
          • Used Screen OnPaint API for this purpose
          • On parameter change, again this 4 Arcs and Rotated Bitmap with updated value will be drawn

      Issue:

      • When parameter change and from Screen OnPaint API, 4 ARCs + Rotated Bitmap are drawn then other 4 GIFs which were continuously animating gets stops for a while and resumes thereafter.
      Please suggest a way to resolve stopping of this GIF animations when Arcs and Rotated bitmap are drawn.