Login  Register

Re: Re: drawing text issue

Posted by cantcode on May 28, 2013; 8:43am
URL: https://forum.librecad.org/drawing-text-issue-tp5708110p5708130.html

hi,
I'm a noob in coding and want to learn how to code. So if someone does have some time, can you answer my questions, please:

"RS_Text is derived from RS_EntityContainer. You can define a virtual function draw() in RS_Text then."

If RS_Text is derived from RS_EntityContainer, shouldn't the draw() function beeing implemented in the RS_EntityContainer class? (cause using virtual??)

"For zooming, please note we have a model space (as entity sizes are), and a screen(GUI) space as controlled by zooming factor. draw() methods must do the conversion."

What is the model space and the screen space?
model space: the canvas, where drwing is performed??
screen space: the GUI?? so one can zoom the GUI??