I am not sure how I should handle this task:
1. GoDocument derived objects should be of fixed size (think of A4 sheet of paper for drawing something)
2. GoView should display whole document (no scrollbars). If GoView is smaller than the document, it should scale it down, if larger, it should center the document display and leave some borders
3. User should not be able to move diagram elements outside the fixed boundaries of GoDocument
can you please point me to a sample code, which is doing similar task, or suggest ways of do the task.
At the moment I set Size for GoDocument and declare it FixedSize - not sure what this do, and also call GoView::RescaleToFit() when a document is loaded or view resized