Top Inners Fields Constructors Methods
com.sun.javafx.sg.prism

public Class NGCanvas

extends NGNode
Class Inheritance
Imports
java.nio.IntBuffer, java.util.LinkedList, java.util.concurrent.ExecutionException, .FutureTask, javafx.geometry.VPos, javafx.scene.text.Font, .FontSmoothingType, com.sun.javafx.font.PGFont, com.sun.javafx.geom.Arc2D, .BaseBounds, .DirtyRegionContainer, .DirtyRegionPool, .Path2D, .PathIterator, .RectBounds, .Rectangle, .RoundRectangle2D, .Shape, com.sun.javafx.geom.transform.Affine2D, .BaseTransform, .NoninvertibleTransformException, com.sun.javafx.scene.text.FontHelper, .TextLayout, com.sun.javafx.text.PrismTextLayout, .PrismTextLayoutFactory, com.sun.javafx.tk.RenderJob, .ScreenConfigurationAccessor, .Toolkit, com.sun.prism.BasicStroke, .CompositeMode, .Graphics, .GraphicsPipeline, .Image, .MaskTextureGraphics, .PrinterGraphics, .RTTexture, .ResourceFactory, .Texture, .Texture.WrapMode, com.sun.prism.paint.Color, .Paint, com.sun.scenario.effect.Blend, .Blend.Mode, .Effect, .FilterContext, .Filterable, .ImageData, com.sun.scenario.effect.impl.prism.PrDrawable, .PrFilterContext, .PrTexture

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static enum
pack-priv static class
private static class
pack-priv static class
pack-priv class

Field Summary

Modifier and TypeField and Description
private int
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private int
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private int
private static Blend
private Blend.Mode
public static final byte
public static final byte
public static final byte
private int
public static final byte
private NGCanvas.RenderBuf
private boolean
private Rectangle
private static final float
private int
private LinkedList<Path2D>
public static final byte
public static final byte
public static final byte
private NGCanvas.RenderBuf
private int
public static final byte
public static final byte
private double[]
private float
public static final byte
public static final byte
public static final byte
private Effect
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private Paint
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private float
private final float
public static final byte
private boolean
public static final byte
private boolean
private Affine2D
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private int
private int
public static final byte
private float
public static final byte
private float
public static final byte
private NGText
pack-priv static final int[]
public static final byte
private Path2D
public static final byte
public static final byte
public static final byte
private PGFont
public static final byte
private static final int[]
private static final int[]
private static final int[]
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private int
private BasicStroke
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
private Paint
private NGCanvas.RenderBuf
private static Arc2D
pack-priv static float[]
pack-priv static final Affine2D
private static final Rectangle
private static RectBounds
private static final Affine2D
public static final byte
public static final byte
private TextLayout
private int
private GrowableDataBuffer
public static final byte
private Affine2D
private int
pack-priv Shape
public static final byte
Inherited from com.sun.javafx.sg.prism.NGNode:
childDirtycontentBoundscullingBitsdirtyDIRTY_CHILDREN_ACCUMULATED_THRESHOLDDIRTY_REGION_CONTAINS_NODE_BOUNDSDIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDSDIRTY_REGION_INTERSECTS_NODE_BOUNDSdirtyBoundsdirtyChildrenAccumulatedTEMP_TRANSFORMtransformedBounds

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Rectangle
applyEffectOnAintoC(Effect definput, Effect effect, BaseTransform transform, Rectangle outputClip, CompositeMode comp, NGCanvas.RenderBuf destbuf)

private void
private void
clearCanvas(int x, int y, int w, int h)

pack-priv void
computeTextLayoutBounds(RectBounds bounds, BaseTransform transform, float scaleX, float layoutX, float layoutY, int token)

private Affine2D
private BasicStroke
public void
handleRenderOp(int
the stream token for the rendering op
token
,
GrowableDataBuffer
the GrowableDataBuffer to get rendering info from
buf
,
Graphics
the Graphics to render to, if not null
gr
,
RectBounds
the RectBounds to accumulate bounds into, if not null
bounds
)

Calculate bounds and/or render one single rendering operation.

protected boolean
private void
private void
private boolean
pack-priv static void
private boolean
private void
renderClip(Shape clippath)

protected void
public void
renderForcedContent(Graphics gOptional)

Overrides com.sun.javafx.sg.prism.NGNode.renderForcedContent.

Called on every render pulse for all nodes in case they have render-time operations that must be completed on a pulse, but were not otherwise rendered by the ordinary damage management logic.

private void
private void
resetClip(boolean andDispose)

private static void
private void
private void
private static void
shapebounds(Shape shape, RectBounds bounds, BaseTransform transform)

private static void
strokebounds(BasicStroke stroke, Shape shape, RectBounds bounds, BaseTransform transform)

pack-priv static void
txBounds(RectBounds bounds, BaseTransform transform)

public void
updateBounds(float w, float h)

public boolean
Inherited from com.sun.javafx.sg.prism.NGNode:
accumulateDirtyRegionsaccumulateGroupDirtyRegionaccumulateNodeDirtyRegionapplyClipapplyEffectapplyTransformcheckBoundsInQuadclearDirtyclearPaintedcomputeNodeRenderRootcomputeOpaqueRegioncomputePaddingcomputeRenderRootdoPreCullingdoRenderdrawDirtyOptseffectChangedgeometryChangedgetCacheFiltergetClipNodegetClippedBoundsgetCompleteBoundsgetContentBoundsgetEffectgetEffectBoundsgetEffectFiltergetFilterContextgetNamegetNodeBlendModegetOpacitygetOpaqueRegiongetParentgetRenderRootgetTransformhasOpaqueRegionhasVisualsinvalidateCacheinvalidateCacheByTranslationinvalidateOpaqueRegionisCleanisContentBounds2DisDepthTestisOpaqueRegionInvalidisReadbackSupportedisRectClipisShape3DisVisiblemarkCullRegionsmarkDirtymarkTreeDirtymarkTreeDirtyNoIncrementneedsBlendingprintDirtyOptsreleaserenderrenderCliprenderEffectrenderForClipsetCachedAsBitmapsetClipNodesetContentBoundssetDepthTestsetEffectsetNamesetNodeBlendModesetOpacitysetParentsetTransformedBoundssetTransformMatrixsetViewOrdersetVisiblesupportsOpaqueRegionstoStringvisualsChanged