src/ui/canvas.cpp

changeset 169
6da096930534
parent 168
24590af32ad6
child 170
9b655f6fe5a1
equal deleted inserted replaced
168:24590af32ad6 169:6da096930534
274 } 274 }
275 this->update(); 275 this->update();
276 } 276 }
277 277
278 /** 278 /**
279 * @returns the ids of the currently selected objects
280 */
281 const QSet<ldraw::id_t> Canvas::selectedObjects() const
282 {
283 return this->selection;
284 }
285
286 /**
279 * @brief Paints a circle at where @c worldPoint is located on the screen. 287 * @brief Paints a circle at where @c worldPoint is located on the screen.
280 * @param painter Painter to use to render 288 * @param painter Painter to use to render
281 * @param worldPoint Point to render 289 * @param worldPoint Point to render
282 */ 290 */
283 void Canvas::drawWorldPoint(QPainter* painter, const glm::vec3& worldPoint) const 291 void Canvas::drawWorldPoint(QPainter* painter, const glm::vec3& worldPoint) const

mercurial