~rkanchan

Recent activity

Re: Understanding drawing delay 2 months ago

From Rajiv Kanchan to ~eliasnaur/gio

I take that back. I do see a delay on GTK apps as well. For some
reason it wasn't apparent when I first tried. Apologies.

Re: Understanding drawing delay 2 months ago

From Rajiv Kanchan to ~eliasnaur/gio

> so I'm interested in seeing your GTK program that shows less delay.
I do not have a custom app that I've coded, but I was talking in general.
Any GTK application on my distro elementary OS(Ubuntu derivative) is
able to keep up with the cursor.
For example drag-n-drop of files in the "Files" app or dragging the
divider in split view mode in the text editor "Code" or
even color picking using a color picker app.

Re: Understanding drawing delay 2 months ago

From Rajiv Kanchan to ~eliasnaur/gio

>This is expected: the mouse cursor is drawn by the operating system independently of the window.

May I ask whether this a consequence of the immediate mode design of
Gio or is this something that can be fixed/improved over time as Gio
matures. And how is it that GTK, a retained mode toolkit, does not
have similar delay.

Re: Development slow down? 5 months ago

From Rajiv Kanchan to ~eliasnaur/gio

> In summary, I don't see Gio slowing down now or in the future.
Thank you Elias for the prompt reply and the reassurance :)

Development slow down? 5 months ago

From Rajiv Kanchan to ~eliasnaur/gio

It appears like the development progress of the toolkit has slowed
down since a month or so. I understand there is also a microvisor
project that you are working on. When can we expect the speed to be
picked up or is there something being worked on offline ?

-Rajiv

Re: Why is the layout.NewContext(...) variable named "gtx" 6 months ago

From Rajiv Kanchan to ~eliasnaur/gio

 > Yes, this. "Gio" or "graphics" context. You can blame me, if you 
want. :)
Thanks for clarifying :)

-Rajiv

Why is the layout.NewContext(...) variable named "gtx" 6 months ago

From Rajiv Kanchan to ~eliasnaur/gio

This is trivial stuff, but have been wanting to ask for a while :)

In the example code for the layout package, why is the variable named 
"gtx"? I get that the suffix "tx" would come from "Context", but where 
does the prefix "g" come from?

	gtx := layout.NewContext(...)
	gtx.Reset(...)

Re: Drawing a cubic bezier curve 7 months ago

From Rajiv Kanchan to ~eliasnaur/gio

What am I doing wrong here. I am trying to display a triangle, but I 
get a shape with more than 3 sides.
https://gist.github.com/rythmkraze/b88d4714c87e9303892f08984c135d24

Drawing a cubic bezier curve 7 months ago

From Rajiv Kanchan to ~eliasnaur/gio

Can someone help me with an example code for drawing a cubic bezier 
curve.
Something like https://www.algosome.com/articles/images/bezier-curve.jpg

Rajiv

Re: Status of applied patches 8 months ago

From Rajiv Kanchan to ~eliasnaur/gio

OK. Thanks