Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QTextItem class provides all the information required to draw text in a custom paint engine. More...
Public Types | |
enum | RenderFlag { Dummy = -1, Overline = 16, RightToLeft = 1, StrikeOut = 64, Underline = 32 } |
Public Member Functions | |
QTextItem () | |
QTextItem (QTextItem copy) | |
virtual void | CreateProxy () |
new double | Ascent () |
| |
new double | Descent () |
| |
new QFont | Font () |
| |
new QTextItem.RenderFlag | RenderFlags () |
| |
new string | Text () |
| |
new double | Width () |
| |
new void | Dispose () |
Protected Member Functions | |
QTextItem (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
virtual System.IntPtr | SmokeObject [get, set] |
The QTextItem class provides all the information required to draw text in a custom paint engine.
When you reimplement your own paint engine, you must reimplement QPaintEngine::drawTextItem(), a function that takes a QTextItem as one of its arguments.
|
protected |
QtGui.QTextItem.QTextItem | ( | ) |
QtGui.QTextItem.QTextItem | ( | QTextItem | copy | ) |
new double QtGui.QTextItem.Ascent | ( | ) |
Corresponds to the ascent of the piece of text that is drawn.
|
virtual |
new double QtGui.QTextItem.Descent | ( | ) |
Corresponds to the descent of the piece of text that is drawn.
new void QtGui.QTextItem.Dispose | ( | ) |
new QFont QtGui.QTextItem.Font | ( | ) |
Returns the font that should be used to draw the text.
new QTextItem.RenderFlag QtGui.QTextItem.RenderFlags | ( | ) |
Returns the render flags used.
new string QtGui.QTextItem.Text | ( | ) |
Returns the text that should be drawn.
new double QtGui.QTextItem.Width | ( | ) |
Specifies the total width of the text to be drawn.
|
protected |
|
getset |