コード例 #1
0
 public void Draw(Point point, float angle, Point origin, Point scale, Color color, float layer = 0, SpriteEffects effects = SpriteEffects.None)
 {
     Draw(point, angle, origin, scale, ToXNAColor(color), layer, effects);
 }
コード例 #2
0
 public void Render(Point pos)
 {
     Render(new Rectangle(pos, new Size(Width, Height)));
 }
コード例 #3
0
 public void Draw(Point point, float angle, Point origin, Point scale, XColor color, float layer = 0, SpriteEffects effects = SpriteEffects.None)
 {
     _graphics.SpriteBatch.Draw(_target, point.ToVector2, null, color, angle, origin.ToVector2, scale.ToVector2, effects, layer);
 }
コード例 #4
0
 public void Blit(Surface Source, Point pos)
 {
     Blit(Source, new Rectangle(pos, new Size(Source.Width, Source.Height)));
 }