CairoText

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

drawCallback
bool drawCallback(Scoped!Context cr, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

image
Surface image;
Undocumented in source.
m_lineWidth
double m_lineWidth;
Undocumented in source.
m_radius
double m_radius;
Undocumented in source.

Inherited Members

From DrawingArea

gtkDrawingArea
GtkDrawingArea* gtkDrawingArea;

the main Gtk struct

getDrawingAreaStruct
GtkDrawingArea* getDrawingAreaStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getContentHeight
int getContentHeight()

Retrieves the content height of the GtkDrawingArea.

getContentWidth
int getContentWidth()

Retrieves the content width of the GtkDrawingArea.

setContentHeight
void setContentHeight(int height)

Sets the desired height of the contents of the drawing area.

setContentWidth
void setContentWidth(int width)

Sets the desired width of the contents of the drawing area.

setDrawFunc
void setDrawFunc(GtkDrawingAreaDrawFunc drawFunc, void* userData, GDestroyNotify destroy)

Setting a draw function is the main thing you want to do when using a drawing area.

addOnResize
gulong addOnResize(void delegate(int, int, DrawingArea) dlg, ConnectFlags connectFlags)

Emitted once when the widget is realized, and then each time the widget is changed while realized.

Meta