Package ch.bailu.gtk.pango
Klasse AttrSize
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.AttrSize
- Alle implementierten Schnittstellen:
PointerInterface
The `PangoAttrSize` structure is used to represent attributes which
set font size.
set font size.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringwhether the font size is in device units or points.static final Stringthe common portion of the attribute
Private field: direct-typestatic final Stringsize of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE) -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Attribute_new(int size) Create a new font-size attribute in fractional points.static ClassHandlerintwhether the font size is in device units or points.intsize of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE)static AttributenewAbsolute(int size) Create a new font-size attribute in device units.voidsetFieldAbsolute(int absolute) whether the font size is in device units or points.voidsetFieldSize(int size) size of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE)Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
ATTR
the common portion of the attribute
Private field: direct-type- Siehe auch:
-
SIZE
size of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE)- Siehe auch:
-
ABSOLUTE
whether the font size is in device units or points.
This field is only present for compatibility with Pango-1.8.0
(%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will
be %FALSE for %PANGO_ATTR_SIZE and %TRUE for %PANGO_ATTR_ABSOLUTE_SIZE.- Siehe auch:
-
-
Konstruktordetails
-
AttrSize
-
AttrSize
public AttrSize()
-
-
Methodendetails
-
getClassHandler
-
setFieldSize
public void setFieldSize(int size) size of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE) -
getFieldSize
public int getFieldSize()size of font, in units of 1/%PANGO_SCALE of a point (for
%PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE) -
setFieldAbsolute
public void setFieldAbsolute(int absolute) whether the font size is in device units or points.
This field is only present for compatibility with Pango-1.8.0
(%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will
be %FALSE for %PANGO_ATTR_SIZE and %TRUE for %PANGO_ATTR_ABSOLUTE_SIZE. -
getFieldAbsolute
public int getFieldAbsolute()whether the font size is in device units or points.
This field is only present for compatibility with Pango-1.8.0
(%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will
be %FALSE for %PANGO_ATTR_SIZE and %TRUE for %PANGO_ATTR_ABSOLUTE_SIZE. -
_new
Create a new font-size attribute in fractional points.- Parameter:
size- the font size, in %PANGO_SCALE-ths of a point- Gibt zurück:
- the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]
-
newAbsolute
Create a new font-size attribute in device units.- Parameter:
size- the font size, in %PANGO_SCALE-ths of a device unit- Gibt zurück:
- the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]
-