Hi all
I am programming the zoom on by CAD system. The problem I have is when I
what to zoom in on very small primitives. I have attached a small project to
demonstrate, the program draws a horizontal line and scales it to fit with a 10
pixel border.
If you change the m_startX and/or the m_endX to any value you want you will see that the line scales as expected
When the line is 0.00059 in length or smaller it will not be drawn, for example if you had: m_startX = 0 m_endX = 0.0005
So my question whether I am using the Matrix transformation correctly? Or
have I hit some sort of limit. I know that I am talking about very small
numbers, but I will be working with these sorts of sizes. I have a couple of ideas to work around this but I am interested in what is really going on, so I have a better understanding.
Any help would be appreciated, I am struggling with this one.
Cheers!
I am programming the zoom on by CAD system. The problem I have is when I
what to zoom in on very small primitives. I have attached a small project to
demonstrate, the program draws a horizontal line and scales it to fit with a 10
pixel border.
If you change the m_startX and/or the m_endX to any value you want you will see that the line scales as expected
When the line is 0.00059 in length or smaller it will not be drawn, for example if you had: m_startX = 0 m_endX = 0.0005
So my question whether I am using the Matrix transformation correctly? Or
have I hit some sort of limit. I know that I am talking about very small
numbers, but I will be working with these sorts of sizes. I have a couple of ideas to work around this but I am interested in what is really going on, so I have a better understanding.
Any help would be appreciated, I am struggling with this one.
Cheers!