jfig.objects
Class AWTBezierSplineRenderer
java.lang.Object
jfig.objects.AWTBezierSplineRenderer
- All Implemented Interfaces:
- FigRenderer
- public class AWTBezierSplineRenderer
- extends java.lang.Object
- implements FigRenderer
AWT 1.1 renderer for bezier-type interpolated spline objects.
It supports all standard FIG line attributes, including arrows.
Part of the code for FigBezier was translated directly from the
xfig (version 3.1.3) code of w_intspline.c and u_draw.c.
That part of the code is protected by the following copyright conditions:
FIG : Facility for Interactive Generation of figures
Copyright (c) 1985 by Supoj Sutanthavibul
Parts Copyright (c) 1994 by Brian V. Smith
Parts Copyright (c) 1991 by Paul King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bezier
FigBezier bezier
wcp
java.awt.Point[] wcp
wcp_spline
java.awt.Point[] wcp_spline
wbezier
LineWrapper wbezier
wfill
FillWrapper wfill
f_arrow
FigArrow f_arrow
b_arrow
FigArrow b_arrow
timestamp
long timestamp
AWTBezierSplineRenderer
public AWTBezierSplineRenderer(FigBezier bezier)
rebuild
public void rebuild()
- Specified by:
rebuild
in interface FigRenderer
paint
public void paint(java.awt.Graphics g)
- Specified by:
paint
in interface FigRenderer
paint
public void paint(java.awt.Graphics g,
FigTrafo2D trafo)
- Specified by:
paint
in interface FigRenderer