micahpearlman / MonkVG

MonkVG is an OpenVG 1.1 like vector graphics API implementation optimized for game use currently using an OpenGL ES backend that should be compatible with any HW that supports OpenGL ES 2.0 which includes most iOS and Android devices.
Other
376 stars 66 forks source link

A little bug with line thickness #21

Open gerchicov opened 10 years ago

gerchicov commented 10 years ago

Function OpenGLPath::buildFatLineSegment(...) in glPath.cpp:

One of parameters has name "radius" abd you pass stroke_width into it. But stroke_width look likes as diameter. And of course all the lines looks too fat.

gerchicov commented 10 years ago

additionally if I change them to a real size then lines could disappear because app view always thinks that it is displayed in non-retina display.