Top Description Inners Constructors Methods
org.lwjgl.util.freetype

public abstract Class FT_SpanFunc

extends Callback
implements FT_SpanFuncI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.freetype.FT_SpanFuncI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.freetype.FT_SpanFunc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


void (*invoke) (
    int y,
    int count,
    FT_Span const *spans,
    void *user
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
FT_SpanFunc(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static FT_SpanFunc

Returns:

the new FT_SpanFunc
create
(long functionPointer)

Creates a FT_SpanFunc instance from the specified function pointer.

public static FT_SpanFunc
create(FT_SpanFuncI instance)

Creates a FT_SpanFunc instance that delegates to the specified FT_SpanFuncI instance.

public static FT_SpanFunc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

FT_SpanFuncback to summary
protected FT_SpanFunc()
FT_SpanFuncback to summary
pack-priv FT_SpanFunc(long functionPointer)

Method Detail

createback to summary
public static FT_SpanFunc create(long functionPointer)

Creates a FT_SpanFunc instance from the specified function pointer.

Returns:FT_SpanFunc

the new FT_SpanFunc

createback to summary
public static FT_SpanFunc create(FT_SpanFuncI instance)

Creates a FT_SpanFunc instance that delegates to the specified FT_SpanFuncI instance.

createSafeback to summary
public static FT_SpanFunc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.freetype back to summary

private final Class FT_SpanFunc.Container

extends FT_SpanFunc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final FT_SpanFuncI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, FT_SpanFuncI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(int y, int count, long spans, long user)

Implements org.lwjgl.util.freetype.FT_SpanFuncI.invoke.

A function used as a call-back by the anti-aliased renderer in order to let client applications draw themselves the pixel spans on each scan line.
Inherited from org.lwjgl.util.freetype.FT_SpanFunc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final FT_SpanFuncI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, FT_SpanFuncI delegate)

Method Detail

invokeback to summary
public void invoke(int y, int count, long spans, long user)

Implements org.lwjgl.util.freetype.FT_SpanFuncI.invoke.

Doc from org.lwjgl.util.freetype.FT_SpanFuncI.invoke.

A function used as a call-back by the anti-aliased renderer in order to let client applications draw themselves the pixel spans on each scan line.

Annotations
@Override