Package ch.bailu.gtk.pango
Klasse AttrShape
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.AttrShape
- Alle implementierten Schnittstellen:
PointerInterface
The `PangoAttrShape` structure is used to represent attributes which
impose shape restrictions.
impose shape restrictions.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
the common portion of the attribute
Private field: direct-type -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Attribute
Create a new shape attribute.static ClassHandler
static Attribute
newWithData
(Rectangle ink_rect, Rectangle logical_rect, Pointer data, AttrShape.OnAttrDataCopyFunc copy_func, AttrShape.OnDestroyNotify destroy_func) Creates a new shape attribute.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von 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:
-
-
Konstruktordetails
-
AttrShape
-
-
Methodendetails
-
getClassHandler
-
_new
Create a new shape attribute.
A shape is used to impose a particular ink and logical
rectangle on the result of shaping a particular glyph.
This might be used, for instance, for embedding a picture
or a widget inside a `PangoLayout`.- Parameter:
ink_rect
- ink rectangle to assign to each characterlogical_rect
- logical rectangle to assign to each character- Gibt zurück:
- the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]
-
newWithData
public static Attribute newWithData(@Nonnull Rectangle ink_rect, @Nonnull Rectangle logical_rect, @Nullable Pointer data, AttrShape.OnAttrDataCopyFunc copy_func, AttrShape.OnDestroyNotify destroy_func) Creates a new shape attribute.
Like [func@Pango.AttrShape.new], but a user data pointer
is also provided; this pointer can be accessed when later
rendering the glyph.- Parameter:
ink_rect
- ink rectangle to assign to each characterlogical_rect
- logical rectangle to assign to each characterdata
- user data pointercopy_func
- function to copy @data when the attribute is copied. If %NULL, @data is simply copied as a pointerdestroy_func
- function to free @data when the attribute is freed- Gibt zurück:
- the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]
-