< prev index next >

src/java.desktop/share/classes/sun/java2d/loops/DrawPolygons.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 71,82 **** /** * All DrawPolygon implementors must have this invoker method */ public native void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, ! int xPoints[], int yPoints[], ! int nPoints[], int numPolys, int transX, int transY, boolean close); public GraphicsPrimitive makePrimitive(SurfaceType srctype, CompositeType comptype, --- 71,82 ---- /** * All DrawPolygon implementors must have this invoker method */ public native void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, ! int[] xPoints, int[] yPoints, ! int[] nPoints, int numPolys, int transX, int transY, boolean close); public GraphicsPrimitive makePrimitive(SurfaceType srctype, CompositeType comptype,
*** 104,115 **** public GraphicsPrimitive traceWrap() { return this; } public void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, ! int xPoints[], int yPoints[], ! int nPoints[], int numPolys, int transX, int transY, boolean close) { tracePrimitive(target); target.DrawPolygons(sg2d, sData, --- 104,115 ---- public GraphicsPrimitive traceWrap() { return this; } public void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, ! int[] xPoints, int[] yPoints, ! int[] nPoints, int numPolys, int transX, int transY, boolean close) { tracePrimitive(target); target.DrawPolygons(sg2d, sData,
< prev index next >