Package armyc2.c5isr.RenderMultipoints
Class clsClipQuad
java.lang.Object
armyc2.c5isr.RenderMultipoints.clsClipQuad
Class to clip polygons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addAbatisFill
(TGLight tg, ArrayList<Shape2> shapes) for pre-clipped lines which also require fill but need the processed points to create the fill.ClipPolygon
(TGLight tg, ArrayList<Point2D> clipBounds) DMA, DMAF fill must be handled separately because of the feintLinesWithFill
(TGLight tg, ArrayList<Point2D> clipBounds) for lines with glyphs the fill must be handled (clipped) as a separate shape.
-
Constructor Details
-
clsClipQuad
public clsClipQuad()
-
-
Method Details
-
addAbatisFill
for pre-clipped lines which also require fill but need the processed points to create the fill. This function is called after the clip, so the fill does not get clipped.- Parameters:
tg
-shapes
-
-
LinesWithFill
for lines with glyphs the fill must be handled (clipped) as a separate shape. this function needs to be called before the clipping is done to the line- Parameters:
tg
-clipBounds
-
-
fillDMA
DMA, DMAF fill must be handled separately because of the feint- Parameters:
tg
-clipBounds
-- Returns:
-
ClipPolygon
- Parameters:
tg
-clipBounds
- polygon representing clipping area- Returns:
-