APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.font

public final Class SunLayoutEngine

extends Object
Class Inheritance
Imports
sun.font.GlyphLayout.*, sun.java2d.Disposer, .DisposerRecord, java.awt.geom.Point2D, java.lang.foreign.MemorySegment, java.util.concurrent.ConcurrentHashMap, java.util.WeakHashMap

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final WeakHashMap<Font2D, SunLayoutEngine.FaceRef>
pack-priv static boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static native long
createFace(Font2D font, long platformNativeFontPtr)

private static native void
disposeFace(long facePtr)

private static long
public static void
layout(Font2D font, int script, FontStrikeDesc desc, float[] mat, int gmask, int baseIndex, TextRecord tr, int typo_flags, Point2D.Float pt, GlyphLayout.GVData data)

private static native boolean
shape(Font2D font, FontStrike strike, float[] mat, long pFace, char[] chars, GlyphLayout.GVData data, int script, int offset, int limit, int baseIndex, Point2D.Float pt, int typo_flags, int slot)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

facePtrback to summary
private static final WeakHashMap<Font2D, SunLayoutEngine.FaceRef> facePtr
useFFMback to summary
pack-priv static boolean useFFM

Constructor Detail

SunLayoutEngineback to summary
private SunLayoutEngine()

Method Detail

createFaceback to summary
private static native long createFace(Font2D font, long platformNativeFontPtr)
disposeFaceback to summary
private static native void disposeFace(long facePtr)
getFacePtrback to summary
private static long getFacePtr(Font2D font2D)
layoutback to summary
public static void layout(Font2D font, int script, FontStrikeDesc desc, float[] mat, int gmask, int baseIndex, TextRecord tr, int typo_flags, Point2D.Float pt, GlyphLayout.GVData data)
shapeback to summary
private static native boolean shape(Font2D font, FontStrike strike, float[] mat, long pFace, char[] chars, GlyphLayout.GVData data, int script, int offset, int limit, int baseIndex, Point2D.Float pt, int typo_flags, int slot)
sun.font back to summary

private Class SunLayoutEngine.FaceRef

extends Object
implements DisposerRecord
Class Inheritance
All Implemented Interfaces
sun.java2d.DisposerRecord

Field Summary

Modifier and TypeField and Description
private Long
private Font2D

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
private synchronized long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

facePtrback to summary
private Long facePtr
fontback to summary
private Font2D font

Constructor Detail

FaceRefback to summary
private FaceRef(Font2D font)

Method Detail

disposeback to summary
public void dispose()

Implements sun.java2d.DisposerRecord.dispose.

Annotations
@Override
getNativePtrback to summary
private synchronized long getNativePtr()