from MatterHackers/agg-sharp