Ejemplo n.º 1
0
        private void UpdateLayerPos(SolverPreviewObject solverPreviewObject, Mouse3DPosition mouseData)
        {
            DrawMarkerBox();
            var layer = _manager.SetLayer("SolverType");

            layer.SetPosition(mouseData.Initial2Dx + 20, mouseData.Initial2Dy + 20);
            var text = solverPreviewObject == null ? string.Empty : solverPreviewObject.Text;

            layer.TextOut(text);
        }
Ejemplo n.º 2
0
 public void Show(SolverPreviewObject geometry)
 {
     geometry.Preview(_solverDrawerDocument);
 }