I adapted H2O for Component Pascal (attached in src_h2o.7z),
and tried to translate few headers of "FreeImage" and "Cairo" with a help of H2O and have some results (attached in H2O.7z)

Translation of Gtk2 headers goes with many errors, and not so easy.