Package icyllis.arc3d.granite
Class SubRunContainer.TransformedMaskSubRun
java.lang.Object
icyllis.arc3d.granite.SubRunContainer.SubRun
icyllis.arc3d.granite.SubRunContainer.AtlasSubRun
icyllis.arc3d.granite.SubRunContainer.TransformedMaskSubRun
- Enclosing class:
SubRunContainer
-
Constructor Summary
ConstructorsConstructorDescriptionTransformedMaskSubRun
(StrikeDesc strikeDesc, Matrixc creationMatrix, Rect2fc creationBounds, int maskFormat, int[] acceptedGlyphs, int acceptedGlyphOffset, float[] acceptedPositions, int acceptedPositionOffset, int acceptedGlyphCount, float minScaleFactor, float maxScaleFactor) All params are read-only, copy will be made. -
Method Summary
Methods inherited from class icyllis.arc3d.granite.SubRunContainer.AtlasSubRun
draw, fillInstanceData, fillInstanceData, getBounds, getGlyphCount, getMaskFormat, getMatrixAndFilter, getMemorySize, prepareGlyphs
-
Constructor Details
-
TransformedMaskSubRun
@Contract(pure=true) public TransformedMaskSubRun(StrikeDesc strikeDesc, Matrixc creationMatrix, Rect2fc creationBounds, int maskFormat, int[] acceptedGlyphs, int acceptedGlyphOffset, float[] acceptedPositions, int acceptedPositionOffset, int acceptedGlyphCount, float minScaleFactor, float maxScaleFactor) All params are read-only, copy will be made.
-
-
Method Details
-
canReuse
public boolean canReuse(@NonNull Paint paint, @NonNull Matrixc positionMatrix, float glyphRunListX, float glyphRunListY) - Specified by:
canReuse
in classSubRunContainer.SubRun
-