Recent

Author Topic: (SOLVED) Bgrabitmap canvas2d line  (Read 1001 times)

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
(SOLVED) Bgrabitmap canvas2d line
« on: February 12, 2023, 11:00:38 am »
Does anyone know how to draw line over canvas2d?

Just by doing moveTo and then lineTo.
« Last Edit: February 12, 2023, 11:15:59 am by Mongkey »

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: (SOLVED) Bgrabitmap canvas2d line
« Reply #1 on: February 12, 2023, 03:59:15 pm »
Indeed, and then by doing stroke.
Conscience is the debugger of the mind

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: (SOLVED) Bgrabitmap canvas2d line
« Reply #2 on: February 12, 2023, 04:19:28 pm »
Thank you circular. I try BGRAbitmap on android, it seems not work on newest LAMW, as i know it used to work without problem on android before, i tested yesterday. It has exception on compiling bgrabitmapnogui.
« Last Edit: February 13, 2023, 01:13:52 am by Mongkey »

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: (SOLVED) Bgrabitmap canvas2d line
« Reply #3 on: February 12, 2023, 06:09:02 pm »
It doesn't work on LAMW? Have you tried another platform?
Conscience is the debugger of the mind

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: (SOLVED) Bgrabitmap canvas2d line
« Reply #4 on: February 13, 2023, 12:00:43 am »
work very well on ubuntu and windows, last time i tried on android, actually worked, but yesterday it did not work, it related with GL inside nogui package.
« Last Edit: February 13, 2023, 12:03:23 am by Mongkey »

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: (SOLVED) Bgrabitmap canvas2d line
« Reply #5 on: February 15, 2023, 09:06:09 pm »
If you don't use OpenGL you can remove the unit from the BGRABitmap package (in the package window).
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018