Wish Missing from B4XCanvas DrawPoint

Discussion in 'Bugs & wishlist' started by Star-Dust, Jun 7, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    Missing from B4XCanvas DrawPoint, I to overcome the obstacle I use DrawCircle and DrawLine, but I think they are slower and in any case it is not the best solution
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    If I remember correctly there is no "good" implementation for DrawPixel or SetPixel in B4i and maybe B4J as well.

    You should learn about BitmapCreator as it is an excellent solution when you need to directly modify the pixels. You can combine it with B4XCanvas.
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    thnak's
     
  4. Star-Dust

    Star-Dust Expert Licensed User

    Do you think BitmapCreator can be faster than canvas?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    BitmapCreator is very fast. Used correctly it can be much faster than canvas.
    [B4X] [BitmapCreator] Maximizing Performance with BC

    BitmapCreator is not a complete alternative to Canvas. In many cases you will want to use them together.
     
    Star-Dust likes this.
  6. Star-Dust

    Star-Dust Expert Licensed User

    I'll try it thanks. I need it for 3D rendering
     
  7. Star-Dust

    Star-Dust Expert Licensed User

    I can confirm, BitmapCreator is much faster than the B4XCanvas.
    The only thing I have to use them both, because I use lines and rectangles that do not exist in bitmapCreator
    11.gif 12.gif
     
    Last edited: Jun 9, 2018
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