public void draw(Rect dest, Rect src, Color_Rect colors, Render_Blend blend, Point hot, double rotation) { Rect offSrc = new Rect(src); offSrc.origin_.x_ = 0; offSrc.origin_.y_ = 0; offSrc.size_.width_ = src.size_.width_; offSrc.size_.height_ = src.size_.height_; Root.instance().render_system().render_image(texture_, offSrc, dest, hot, rotation); //texture_.DrawImage(device, dest.Left, dest.Top, dest.Width, dest.Height, src.Left, src.Top, src.Width, src.Height, (int)blend); }
public void set_color(Color_Rect color) { color_ = color; }