Windows!

48 views
Skip to first unread message

luserdroog

unread,
Nov 17, 2013, 8:52:25 AM11/17/13
to
In a breathtaking hackathon, we've cooked up output devices for <del>X Windows</del> ahem.. The X Window System and Ms Windows!
 
Still pretty finicky. And doesn't select colors or draw properly. But 'loadgraphics' opens up a window. Now we're cookin'!
 

luserdroog

unread,
Nov 18, 2013, 7:28:03 AM11/18/13
to xpost-...@googlegroups.com
Latest version is doing some simple grayscale drawing on windows.
 
stuff like
 
 clippath fill showpage
 
 10 10 moveto
 100 100 lineto stroke
 
 10 10 moveto
 100 50 lineto
 0 setlinewidth stroke %uses the bresenham dda line algo
 stroke
 showpage
 
 

luserdroog

unread,
Nov 18, 2013, 8:35:26 AM11/18/13
to xpost-...@googlegroups.com
And the xcb version now has the same functionality as the windows device.
`erasepage` is really really slow.

luserdroog

unread,
Nov 21, 2013, 2:35:47 AM11/21/13
to xpost-...@googlegroups.com
We've now got greyscale drawing with both Windows and X.
 
To get the xcb stuff to compile, I had to manually install a number of
packages on Ubuntu:
 
 apt-get install libxcb1-dev
 apt-get install libxcb-image0-dev
 apt-get install libxcb-util0-dev
 
Some simple drawing tests have been added to the 'runtest' command.
Unfortunately, all three of my testing setups are currently crashing after
running the test twice.
 
 runtest
 runtest
 quit
 
SUCCESS
PS>^Z
ERR: src/lib/xpost_memory.c:656 xpost_memory_table_find_relative() 1 cannot find table segment
for ent
ERR: src/lib/xpost_memory.c:702 xpost_memory_table_get_size() 1 entity not found
ERR: src/lib/xpost_memory.c:656 xpost_memory_table_find_relative() 1 cannot find table segment
for ent
ERR: src/lib/xpost_memory.c:672 xpost_memory_table_get_addr() 1 entity not found
ERR: src/lib/xpost_memory.c:656 xpost_memory_table_find_relative() 1 cannot find table segment
for ent
josh@Z1 ~/xpost
$
 
So, I've got some debugging to do.
 
Reply all
Reply to author
Forward
0 new messages