Surface.getWidth
int getWidth() nothrowReturns the width of the given surface.
Surface size is reported in ”application pixels”, not ”device pixels” (see gdk.surface.Surface.getScaleFactor).
Returns
The width of surface
int getWidth() nothrowReturns the width of the given surface.
Surface size is reported in ”application pixels”, not ”device pixels” (see gdk.surface.Surface.getScaleFactor).