Star-Dust Expert Licensed User Longtime User Jun 7, 2018 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2018 #2 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.
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.
Star-Dust Expert Licensed User Longtime User Jun 8, 2018 #4 Do you think BitmapCreator can be faster than canvas?
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2018 #5 Star-Dust said: Do you think BitmapCreator can be faster than canvas? Click to expand... 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 said: Do you think BitmapCreator can be faster than canvas? Click to expand... 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 Expert Licensed User Longtime User Jun 8, 2018 #6 I'll try it thanks. I need it for 3D rendering
Star-Dust Expert Licensed User Longtime User Jun 9, 2018 #7 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 Last edited: Jun 9, 2018
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