idTech4.UI.idDeviceContext.PaintCharacter C# (CSharp) Method

PaintCharacter() private method

private PaintCharacter ( float x, float y, float width, float height, float scale, float s, float t, float s2, float t2, idMaterial shader ) : void
x float
y float
width float
height float
scale float
s float
t float
s2 float
t2 float
shader idTech4.Renderer.idMaterial
return void
		private void PaintCharacter(float x, float y, float width, float height, float scale, float s, float t, float s2, float t2, idMaterial shader)
		{
			float tmpWidth = width * scale;
			float tmpHeight = height * scale;

			if(ClipCoordinates(ref x, ref y, ref tmpWidth, ref tmpHeight, ref s, ref t, ref s2, ref t2) == true)
			{
				return;
			}

			AdjustCoordinates(ref x, ref y, ref tmpWidth, ref tmpHeight);
			DrawStretchPicture(x, y, tmpWidth, tmpHeight, s, t, s2, t2, shader);
		}