iOS Question Drawing on Canvas without colors, only black, on some devices

Discussion in 'iOS Questions' started by skrjabin, Aug 15, 2019 at 5:00 PM.

  1. skrjabin

    skrjabin Active Member Licensed User

    Hi,
    I have an Canvas-Array
    Code:
    Private RasterArrayGrafics() As Canvas
    and I want to draw on it:
    Code:
    RasterArrayGrafics(i).DrawBitmap(btmMonsters(iNr), rect_DestRect)
    RasterArrayGrafics(i).DrawCircle(i_drawMitte, 
    20dip5dipColors.Red, True0)
    RasterArrayGrafics(i).Refresh
    On my Tablet everything is OK, but on my iPhone 5 the bitmaps and circles are without color, only black.

    Do you have any idea, what the reason could be?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Hard to say based on the code you posted. Why do you need an array of canvases?
     
  3. skrjabin

    skrjabin Active Member Licensed User

    I have on a panel a Label-Array with 8 x 4 Labels, that represents several time positions of a rhythm. So each of this label owns a canvas, which can show the beat. On iPad it works. Only without colors on iPhone 5.
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice