// // This is example code from Chapter 13.5 "Line style" of // "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup // #include "Simple_window.h" // get access to our window library #include "Graph.h" // get access to our graphics library facilities //------------------------------------------------------------------------------ int main() try { using namespace Graph_lib; // our graphics facilities are in Graph_lib Simple_window win3{Point{100,100},600,400,"grid"}; int x_size = win3.x_max(); // get the size of our window int y_size = win3.y_max(); int x_grid = 80; int y_grid = 40; Lines grid; for (int x=x_grid; x