comp.lang.ada
 help / color / mirror / Atom feed
* Cairo: Get_Source_RGB()
@ 2016-11-04  9:50 hreba
  2016-11-04 10:06 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 3+ messages in thread
From: hreba @ 2016-11-04  9:50 UTC (permalink / raw)


In GTK, Cairo contains the functions Set_Source_RGB() and 
Get_Source_RGB. Gtkada has the former but not the latter. What can I do? 
Mix in C code, calling the GTK function? (I have never done this before).
-- 
Frank Hrebabetzky		+49 / 6355 / 989 5070

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cairo: Get_Source_RGB()
  2016-11-04  9:50 Cairo: Get_Source_RGB() hreba
@ 2016-11-04 10:06 ` Dmitry A. Kazakov
  2016-11-04 16:11   ` hreba
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry A. Kazakov @ 2016-11-04 10:06 UTC (permalink / raw)


On 04/11/2016 10:50, hreba wrote:
> In GTK, Cairo contains the functions Set_Source_RGB() and
> Get_Source_RGB. Gtkada has the former but not the latter. What can I do?
> Mix in C code, calling the GTK function? (I have never done this before).

There is no Get_Source_RGB in Cairo, source is polymorphic. The 
counterpart is just Get_Source whatever it be.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cairo: Get_Source_RGB()
  2016-11-04 10:06 ` Dmitry A. Kazakov
@ 2016-11-04 16:11   ` hreba
  0 siblings, 0 replies; 3+ messages in thread
From: hreba @ 2016-11-04 16:11 UTC (permalink / raw)


On 11/04/2016 11:06 AM, Dmitry A. Kazakov wrote:
> On 04/11/2016 10:50, hreba wrote:
>> In GTK, Cairo contains the functions Set_Source_RGB() and
>> Get_Source_RGB. Gtkada has the former but not the latter. What can I do?
>> Mix in C code, calling the GTK function? (I have never done this before).
>
> There is no Get_Source_RGB in Cairo, source is polymorphic. The
> counterpart is just Get_Source whatever it be.
>
Got it, thanks.
-- 
Frank Hrebabetzky		+49 / 6355 / 989 5070

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-04 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-04  9:50 Cairo: Get_Source_RGB() hreba
2016-11-04 10:06 ` Dmitry A. Kazakov
2016-11-04 16:11   ` hreba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox