SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

What is behind Line command? (by cean)
Hi,

When draw a Line, which function save the point?

Regards,

Cean

In graphicswin.cpp, this part code is:
case Command::DATUM_POINT: s = _("click to place datum point"); goto c;
.
.
.
c:
SS.GW.pending.operation = GraphicsWindow::Pending::COMMAND;
SS.GW.pending.command = id;
SS.GW.pending.description = s;
SS.ScheduleShowTW();
SS.GW.Invalidate(); // repaint toolbar
break;
Wed Dec 23 2020, 05:27:24
(no subject) (by cean)
case Command::LINE_SEGMENT: s = _("click first point of line segment"); goto c;
Wed Dec 23 2020, 05:28:24
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.