class SWContext.NativeShapeRenderer extends java.lang.Object implements SWContext.ShapeRenderer
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ref.SoftReference<SWMaskTexture> |
maskTextureRef |
| Constructor and Description |
|---|
NativeShapeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
private void |
disposeMaskTexture() |
private SWMaskTexture |
initMaskTexture(int width,
int height) |
void |
renderShape(PiscesRenderer pr,
Shape shape,
BasicStroke stroke,
BaseTransform tr,
Rectangle clip,
boolean antialiasedShape) |
private SWMaskTexture |
validateMaskTexture(int width,
int height) |
private java.lang.ref.SoftReference<SWMaskTexture> maskTextureRef
public void renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)
renderShape in interface SWContext.ShapeRendererprivate SWMaskTexture initMaskTexture(int width, int height)
private void disposeMaskTexture()
private SWMaskTexture validateMaskTexture(int width, int height)
public void dispose()
dispose in interface SWContext.ShapeRenderer