View Single Post
Old 07-17-2006, 07:20 AM   #177
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Quote:
Originally Posted by DHer
what's the switching time with .xeb files?
Better, worse, comparable?
better, about 1.5-2.0 seconds

Quote:
Originally Posted by DHer
And when you are online atm:
Could you please draw a little bit in the test3.xeb and give me the resulting .ink file plus a photo of the screen? I believe it contains vector data about the stuff you have drawn.
Nope, I did something for myself. -- see attachment

the .ink really is just a sequence of stroke anchor points. I converted to ps via
Code:
#!/usr/bin/perl -w

print<<EOF;
%!PS-Adobe-3.0
%%BoundingBox: 0 0 595 841
%%PageMedia: a4
.2 .2 scale
EOF

$nstrokes=<STDIN>;
for(my $i=0; $i<$nstrokes; ++$i )
  {
	 $npoints=<STDIN>;
	 for( my $j=0; $j<$npoints; ++$j )
		{
		  ($x,$y)=split(/\s+/,<STDIN>);
		  if( $j==0 ) { print("$x $y moveto ") }
		  else { print("$x $y lineto "); };
		}
	 print("stroke\n");
  }
print("showpage\n");
The original picture was screen-filling, the extremely long protruding spikes must be some sampling error at the screen boundary.
Attached Files
File Type: zip notes.zip (17.7 KB, 309 views)
ali is offline   Reply With Quote