// Pango.Layout.custom - Pango Layout class customizations // // Author: Pedro Abelleira Seco // // This code is inserted after the automatically generated code. /// Size property /// Returns the size of the Layout public System.Drawing.Size Size { get { int width, height; GetSize (out width, out height); return new System.Drawing.Size (width, height); } } /// SetText Method, overloaded to not having to calculate string length public void SetText(string text) { SetText(text, text.Length); } /// SetMarkup Method, overloaded to not having to calculate string length public void SetMarkup(string markup) { SetText(markup, markup.Length); }