public final class Renderer extends Object implements PathConsumer2D
Modifier and Type | Field and Description |
---|---|
static int |
WIND_EVEN_ODD |
static int |
WIND_NON_ZERO |
Constructor and Description |
---|
Renderer(int subpixelLgPositionsX,
int subpixelLgPositionsY) |
Renderer(int subpixelLgPositionsX,
int subpixelLgPositionsY,
int pix_boundsX,
int pix_boundsY,
int pix_boundsWidth,
int pix_boundsHeight,
int windingRule) |
Modifier and Type | Method and Description |
---|---|
void |
closePath() |
void |
curveTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3) |
int |
getOutpixMaxX() |
int |
getOutpixMaxY() |
int |
getOutpixMinX() |
int |
getOutpixMinY() |
int |
getSubpixMaxX() |
int |
getSubpixMaxY() |
int |
getSubpixMinX() |
int |
getSubpixMinY() |
void |
lineTo(float pix_x1,
float pix_y1) |
void |
moveTo(float pix_x0,
float pix_y0) |
void |
pathDone() |
void |
produceAlphas(AlphaConsumer ac) |
void |
quadTo(float x1,
float y1,
float x2,
float y2) |
void |
reset(int pix_boundsX,
int pix_boundsY,
int pix_boundsWidth,
int pix_boundsHeight,
int windingRule) |
public static final int WIND_EVEN_ODD
public static final int WIND_NON_ZERO
public Renderer(int subpixelLgPositionsX, int subpixelLgPositionsY)
public Renderer(int subpixelLgPositionsX, int subpixelLgPositionsY, int pix_boundsX, int pix_boundsY, int pix_boundsWidth, int pix_boundsHeight, int windingRule)
public void reset(int pix_boundsX, int pix_boundsY, int pix_boundsWidth, int pix_boundsHeight, int windingRule)
public void moveTo(float pix_x0, float pix_y0)
moveTo
in interface PathConsumer2D
public void lineTo(float pix_x1, float pix_y1)
lineTo
in interface PathConsumer2D
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
curveTo
in interface PathConsumer2D
public void quadTo(float x1, float y1, float x2, float y2)
quadTo
in interface PathConsumer2D
public void closePath()
closePath
in interface PathConsumer2D
public void pathDone()
pathDone
in interface PathConsumer2D
public void produceAlphas(AlphaConsumer ac)
public int getSubpixMinX()
public int getSubpixMaxX()
public int getSubpixMinY()
public int getSubpixMaxY()
public int getOutpixMinX()
public int getOutpixMaxX()
public int getOutpixMinY()
public int getOutpixMaxY()
Copyright © 2020. All rights reserved.