예제 #1
0
파일: Toolkit.cs 프로젝트: inorton/xwt
 public Image RenderWidget(Widget widget)
 {
     return(new Image(backend.RenderWidget(widget)));
 }
예제 #2
0
파일: Toolkit.cs 프로젝트: git-thinh/limada
		/// <summary>
		/// Renders the widget into an Xwt Image.
		/// </summary>
		/// <returns>An Xwt Image containing the rendered bitmap.</returns>
		/// <param name="widget">The Widget to render.</param>
		public Image RenderWidget (Widget widget)
		{
			return new Image (backend.RenderWidget (widget), this);
		}