288 const QSet<ldraw::id_t> Canvas::selectedObjects() const |
288 const QSet<ldraw::id_t> Canvas::selectedObjects() const |
289 { |
289 { |
290 return this->selection; |
290 return this->selection; |
291 } |
291 } |
292 |
292 |
|
293 const glm::mat4 &Canvas::getGridMatrix() const |
|
294 { |
|
295 return this->gridMatrix; |
|
296 } |
|
297 |
293 /** |
298 /** |
294 * @brief Paints a circle at where @c worldPoint is located on the screen. |
299 * @brief Paints a circle at where @c worldPoint is located on the screen. |
295 * @param painter Painter to use to render |
300 * @param painter Painter to use to render |
296 * @param worldPoint Point to render |
301 * @param worldPoint Point to render |
297 */ |
302 */ |