idTech4.UI.idDeviceContext.PaintCharacter C# (CSharp) 메소드

PaintCharacter() 개인적인 메소드

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
리턴 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);
		}