| 181 | } |
| 182 | |
| 183 | void Sprite::drawHandle( |
| 184 | RenderTarget surface, const Transform::UnitVector& camera) const |
| 185 | { |
| 186 | const Transform::UnitVector position |
| 187 | = m_positionTransformer(m_position, camera, m_layer) |
| 188 | .to<Transform::Units::ScenePixels>(); |
| 189 | Rect::draw(surface, position.x, position.y); |
| 190 | } |
| 191 | |
| 192 | SpriteHandlePoint* Sprite::getHandlePoint( |
| 193 | Transform::UnitVector& cameraPosition, int posX, int posY) |