Shuhao  twisted the bytes to say:

 Shuhao> Hey,
 Shuhao> I'm curious to how the xournal line drawing algorithm works. Is there 
a 
 Shuhao> document somewhere documenting its process? This algorithm is the best 
 Shuhao> I've seen from a couple of programs and I'm wondering how exactly it's 
 Shuhao> accomplished. Unfortunately my C skills are not as good and somewhat 
 Shuhao> rusty so I'm having some trouble reading through the xo-paint file.

I have been subjectively comparing different PDF algorithms. The easy
answer is that it does not depend on the line rendering algorithm but on
the speed of the sampling. 

There are two types of algorithms: 

1. Those that keep every sampling point (xournal) and draw lines between them.
2. Those that simplify the curve to a spline.

it is easy to spot the latter, because the line ends being in different
points than drawn.

Regarding type 2, you can test how good the sampling is with a very
small experiment. Draw, as fast as you can an oblong spiral. then zoom
in. You will see the points of inflection in any software that does not
simplify to spline.

--dmg



 Shuhao> Thanks,
 Shuhao> Shuhao

 Shuhao> 
------------------------------------------------------------------------------
 Shuhao> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Shuhao> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS 
Reports
 Shuhao> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Shuhao> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 Shuhao> 
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
 Shuhao> _______________________________________________
 Shuhao> Xournal-devel mailing list
 Shuhao> Xournal-devel@lists.sourceforge.net
 Shuhao> https://lists.sourceforge.net/lists/listinfo/xournal-devel


--
Daniel M. German                  "What is the matter? --Never mind
   Anonymous ->                    What is mind? --It does not matter."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to