Beispiel #1
0
    public void UI_DrawImage(GfxImage Image, Vector2 Position, Vector2 Size)
    {
        Graphics g = Graphics.FromImage(VSInfo.Screen);

        g.DrawImage(Image.GetImage(), Position.x, Position.y, Size.x, Size.y);
        g.Flush();


        UI_DrawOutLine(Position, Size);
    }
Beispiel #2
0
    public void UI_DrawImage(GfxImage Image, Vector2 Position)
    {
        Image m_image = Image.GetImage();

        UI_DrawImage(Image, Position, new Vector2(m_image.Width, m_image.Height));
    }