freenode/#clim - IRC Chatlog
Search
18:37:10
ck_
jackdaniel: I believe #742 can be closed now; also, #699 needs only a technical writeup and a normalization of the standard width/height values for all panes. Would you like me to put a diff as a comment?
22:18:46
jackdaniel
I have a basic demonstration of immediate mode gui implemented with clim-basic primitives, I think I'll write a blog post about it when it grows to something useful
22:22:15
jackdaniel
(only button interaction is implemented, also plenty of priting to the repl which starts the application)
4:36:10
loke
jackdaniel: I spent some time studiying the path library yesterday. It provides most of what we need up to a point: It provides an outline (or concave polygon) representing the shape (including lines, circles, whatever) that is needed. Thus, I should be able to use this and then implement a standard algorithm for turning a concave polygon to a set of triangles that can be rendered by, well Xrender or anything else that may need it.
4:37:01
loke
It's my intention to write a separate package that encapsulates this, so it can be used by Xrender, and later, by the SDL or OpenGL backends.
4:59:58
ck_
loke: tell me if you can use any help with that. I can say without much ego that computational geometry is on my list of things I know slightly more than nothing about.
5:23:35
loke
I experimented with this: https://gist.github.com/lokedhs/4afe548554083ee2c39684b1387858a0
5:24:58
loke
ck_: basically, the PATH library gives you the ability to construct pats with joins and caps that are compatible with what CLIM needs. When iterating over the PATH-ITERATOR, you get line segments and (optionally) arcs that describes the enclosing object.