示例#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);
        }
示例#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);
        }
示例#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);
		}
示例#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);
		}