Recent

Author Topic: Colors from Graphics and GR32  (Read 1386 times)

thecoffeeguy

  • Newbie
  • Posts: 4
Colors from Graphics and GR32
« on: July 06, 2015, 10:20:17 pm »
Hello there,

I`m not sure if either the gr32 has an error, or the lcl (gtk toolkit, not windows) itself? The colors are mainly in BGR, but in the lcl-gtk on linux shouldnt that be in the RGB space? Mainly i did think that its an issue with gr32, it isnt.

Thanks for any advice (trying to write some custom components based on gr32)

ps. the gr32 are in ARGB. So i think thats the issue.
« Last Edit: July 06, 2015, 10:46:06 pm by thecoffeeguy »

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Colors from Graphics and GR32
« Reply #1 on: July 07, 2015, 07:10:48 am »
Could you make a small code-example and tell what you expected, and what went wrong ?
Maybe a small Test-Project.
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

thecoffeeguy

  • Newbie
  • Posts: 4
Re: Colors from Graphics and GR32
« Reply #2 on: July 07, 2015, 07:27:25 am »
Hi,

Well - try FBitmap32.Clear(Color32(clRed)); it will be blue. Anyway, i`ll just write some conversions methods. Doesnt anyone use graphics32? :)

 

TinyPortal © 2005-2018