package Icarus.Graphics.Animation.GDI;

import System.Drawing.Point;
import System.Drawing.Graphics;

import Icarus.Graphics.Animation.IRenderParameters;

/**
 * The render parameters needed to make render to GDI.
 */
public class GDIRenderParameters implements IRenderParameters
{
	/**
	 * The graphics context in which we want to render the graphics.
	 */
	private Graphics m_GraphicsContext;

	/**
	 * Initializes the rendering parameters.
	 */
	public GDIRenderParameters(Graphics context)
	{
		this.setGraphics(context);
	}

	/**
	 * Returns the graphics context.
	 */
	public Graphics getGraphics()
	{
		return m_GraphicsContext;
	}

	/**
	 * Sets up the new graphics context.
	 */
	private void setGraphics(Graphics g)
	{
		m_GraphicsContext = g;
	}
}
