under development
detecting stroke width