Straight to the point: in C there are structures
that allow to work with multiple variables "at the same time". Now suppose to have:
struct point{
double x,y;
}
this will represent a point in a not-yet-defined space. Building from that we could create a segment:
struct segment{
struct point a;
struct point b;
};
And spanning this segment over the observable space we could create a line (with that then an actual 2d plan with finite point in it).
Knowing that now, I ask you, is there any way to show on screen (create graphics) of this geometrical entities (and even 2d gemological figure (rect, circle and so on...) and furthermore more complex one, like 3d objects) only using C from scratch? From scratch I mean without using any lib or in case write that on my own. I would like to emphasize that this is a learning process, hence respectful and pertinent answer will be really appreciate. Thanks.