Beispiel #1
0
        /**
         * render this area.
         */
        public override void Render(IGraphicDevice device, float x, float y)
        {
            IFontHandle oldFont = device.SetFont(font);

            device.DrawGlyph(index, x, y);
            device.RestoreFont(oldFont);
        }
Beispiel #2
0
        public override void Render(IGraphicDevice device, float x, float y)
        {
            IFontHandle savedFont = device.SetFont(font);

            device.DrawString(x, y, content);
            device.RestoreFont(savedFont);
        }
Beispiel #3
0
		public override void Render(IGraphicDevice device, float x, float y)
		{
			IFontHandle savedFont = device.SetFont(font);
			device.DrawString(x, y, content);
			device.RestoreFont(savedFont);
		}
Beispiel #4
0
		/**
		 * render this area. 
		 */
		public override void Render(IGraphicDevice device, float x, float y) 
		{
			IFontHandle oldFont = device.SetFont(font);
      device.DrawGlyph(index, x, y);		
			device.RestoreFont(oldFont);
		}