Skip to content

wwwMADwww/ManuPathLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManuPathLib

example

Converting vector paths to series of dots or line segments "manually", no graphic library is used.

Developed for my specific applications and not tested properly, use at your own risk.

Features

  • Primitives: Dot (for fills), line segment, cubic bezier curve.
  • Fill rules: Even-odd, non-zero winding.
  • Divide primitives to specific segments number.
  • Divide primitives to segments of specific length with smooth transition from one primitive to the next within same Path.
  • Grid pattern fill with randomization.
  • Random fill.

Example

No proper examples for now, but here is the test project ManuPathTest. It loads one of the SVG files as ManuPath primitives, converts these to the dots and lines and draws using SFML.Net.

Thanks

Big thanks to A Primer on Bézier Curves