[Haskell-cafe] lib for drawing with mouse
mechvel at scico.botik.ru
mechvel at scico.botik.ru
Tue Mar 3 17:14:44 UTC 2020
On 2020-03-03 15:44, Brandon Allbery wrote:
> gtk2hs is a dead project, gi is its successor. I don't know if it has
> similar examples.
* Still Gtk2Hs does no seem to provide an interface
mouse-drawn curve <--> coordinate list,
* I do not see a Manual on gi or Gtk or Hoodle,
* Detexity does not look like a free tool (?).
So, it looks like I have to use a Python script for the needed
interface, while
the main program being written in Haskell.
------
Sergei
>> On 2020-03-03 01:45, Branimir Maksimovic wrote:
>>> Gtk?
>>>
>>> On 3/1/20 8:44 PM, mechvel at scico.botik.ru wrote:
>>>> Please,
>>>>
>>>> does there exist a tool (library) in Haskell that supports doing
>> the
>>>> following
>>>> with graphics?
>>>>
>>>> (1) To draw a curve by mouse on a screen and save this picture in
>> a
>>>> file
>>>> (many different curves to be input this way).
>>>> (2) To save in data.txt the coordinates of the points of this
>> curve,
>>>> say, 800 pairs of numbers (floating point or rational ...).
>>>> (3) Reversely: to draw a curve on a screen by inputting from such
>>
>>>> data.txt.
>>>>
>>>> The main is (1)&(2). Because currently I set a curve by putting
>> many
>>>> times the
>>>> '*' character and `space' to a text file, and this takes long.
>>>>
>>>> Thanks,
>>>>
>>>> ------
>>>> Sergei
>>>>
>>>> _______________________________________________
>>>> Haskell-Cafe mailing list
>>>> To (un)subscribe, modify options or view archives go to:
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>>> Only members subscribed via the mailman list are allowed to post.
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> To (un)subscribe, modify options or view archives go to:
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>> Only members subscribed via the mailman list are allowed to post.
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.
>
> --
>
> brandon s allbery kf8nh
> allbery.b at gmail.com
More information about the Haskell-Cafe
mailing list