Exemple #1
0
 /// <summary>
 /// Method used to draw textbox.
 /// </summary>
 /// <param name="view">View matrix.</param>
 /// <param name="projection">Projection  matrix.</param>
 public override void Draw(Characters characters, Matrix view, Matrix projection)
 {
     base.Draw(characters, view, projection);
     characters.Draw(value, actualScale, valuePosition, view, projection);
 }
Exemple #2
0
 protected void DrawString(string text, float scale, Vector2 position, Matrix view, Matrix projection)
 {
     characters.Draw(text, scale, new Vector3(position, 0), view, projection);
 }
Exemple #3
0
 public virtual void Draw(Characters characters, Matrix view, Matrix projection)
 {
     characters.Draw(this.Text, this.actualScale, this.position, view, projection);
 }
Exemple #4
0
 public virtual void Draw(Characters characters, Matrix view, Matrix projection)
 {
     characters.Draw(this.Text, this.actualScale, this.position, view, projection);
 }
Exemple #5
0
 /// <summary>
 /// Method used to draw textbox.
 /// </summary>
 /// <param name="view">View matrix.</param>
 /// <param name="projection">Projection  matrix.</param>
 public override void Draw(Characters characters, Matrix view, Matrix projection)
 {
     base.Draw(characters, view, projection);
     characters.Draw(value, actualScale, valuePosition, view, projection);
 }