Recent

Author Topic: Error in BGRA Controls or Bitmap with GTK  (Read 1703 times)

las

  • New Member
  • *
  • Posts: 26
Error in BGRA Controls or Bitmap with GTK
« on: February 09, 2013, 10:36:19 pm »
If control.left<0 then it draw from abs(control.left) position, but control.right don't change.

circular

  • Hero Member
  • *****
  • Posts: 3446
    • Personal webpage
Re: Error in BGRA Controls or Bitmap with GTK
« Reply #1 on: February 09, 2013, 11:19:38 pm »
Maybe you can solve this by chaging bgragtkbitmap.pas.

You will find abs(P.X) and abs(P.Y) both times (line 151 and line 302).
Try changing this to +P.X or -P.X and samething of P.Y
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018