public DrawSelectableObject(
     IDrawConfiguration drawConfiguration,
     IMapSettingsController mapSettingsController
     )
 {
     _drawConfiguration     = drawConfiguration;
     _mapSettingsController = mapSettingsController;
 }
Esempio n. 2
0
 /// <summary>
 /// Draws the specified configuration.
 /// </summary>
 /// <param name="config">The configuration.</param>
 public void Draw(IDrawConfiguration config)
 {
     context.RenderState.Set(new ActiveRenderSurface(fbo));
     config.Draw(context);
 }
Esempio n. 3
0
 /// <summary>
 /// Draws the specified configuration.
 /// </summary>
 /// <param name="config">The configuration.</param>
 public void Draw(IDrawConfiguration config)
 {
     context.StateManager.Get <StateActiveFboGL, StateActiveFboGL>().Fbo = fbo;
     config.Draw(context);
 }