当前位置: 首页>>代码示例>>Java>>正文


Java GraphicsPrimitive.tracePrimitive方法代码示例

本文整理汇总了Java中sun.java2d.loops.GraphicsPrimitive.tracePrimitive方法的典型用法代码示例。如果您正苦于以下问题:Java GraphicsPrimitive.tracePrimitive方法的具体用法?Java GraphicsPrimitive.tracePrimitive怎么用?Java GraphicsPrimitive.tracePrimitive使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sun.java2d.loops.GraphicsPrimitive的用法示例。


在下文中一共展示了GraphicsPrimitive.tracePrimitive方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: doDrawArc

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void doDrawArc(GDIWindowSurfaceData sData,
               Region clip, Composite comp, int color,
               int x, int y, int w, int h,
               int angleStart, int angleExtent)
{
    GraphicsPrimitive.tracePrimitive("GDIDrawArc");
    super.doDrawArc(sData, clip, comp, color, x, y, w, h,
                    angleStart, angleExtent);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:10,代码来源:GDIRenderer.java

示例2: doFillOval

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void doFillOval(GDIWindowSurfaceData sData,
                Region clip, Composite comp, int color,
                int x, int y, int w, int h)
{
    GraphicsPrimitive.tracePrimitive("GDIFillOval");
    super.doFillOval(sData, clip, comp, color, x, y, w, h);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:GDIRenderer.java

示例3: fillParallelogram

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void fillParallelogram(SunGraphics2D sg2d,
                              double ux1, double uy1,
                              double ux2, double uy2,
                              double x, double y,
                              double dx1, double dy1,
                              double dx2, double dy2)
{
    GraphicsPrimitive.tracePrimitive("OGLFillParallelogram");
    oglr.fillParallelogram(sg2d,
                           ux1, uy1, ux2, uy2,
                           x, y, dx1, dy1, dx2, dy2);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:OGLRenderer.java

示例4: fillParallelogram

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void fillParallelogram(SunGraphics2D sg2d,
                              double ux1, double uy1,
                              double ux2, double uy2,
                              double x, double y,
                              double dx1, double dy1,
                              double dx2, double dy2)
{
    GraphicsPrimitive.tracePrimitive("D3DFillParallelogram");
    d3dr.fillParallelogram(sg2d,
                           ux1, uy1, ux2, uy2,
                           x, y, dx1, dy1, dx2, dy2);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:13,代码来源:D3DRenderer.java

示例5: doDrawRoundRect

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void doDrawRoundRect(GDIWindowSurfaceData sData,
                     Region clip, Composite comp, int color,
                     int x, int y, int w, int h,
                     int arcW, int arcH)
{
    GraphicsPrimitive.tracePrimitive("GDIDrawRoundRect");
    super.doDrawRoundRect(sData, clip, comp, color,
                          x, y, w, h, arcW, arcH);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:10,代码来源:GDIRenderer.java

示例6: doFillRect

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void doFillRect(GDIWindowSurfaceData sData,
                Region clip, Composite comp, int color,
                int x, int y, int w, int h)
{
    GraphicsPrimitive.tracePrimitive("GDIFillRect");
    super.doFillRect(sData, clip, comp, color, x, y, w, h);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:GDIRenderer.java

示例7: XDrawPoly

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void XDrawPoly(long pXSData, long xgc,
               int transx, int transy,
               int[] xpoints, int[] ypoints,
               int npoints, boolean isclosed)
{
    GraphicsPrimitive.tracePrimitive("X11DrawPoly");
    super.XDrawPoly(pXSData, xgc, transx, transy,
                    xpoints, ypoints, npoints, isclosed);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:10,代码来源:X11Renderer.java

示例8: doFillPoly

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void doFillPoly(GDIWindowSurfaceData sData,
                Region clip, Composite comp, int color,
                int transx, int transy,
                int[] xpoints, int[] ypoints,
                int npoints)
{
    GraphicsPrimitive.tracePrimitive("GDIFillPoly");
    super.doFillPoly(sData, clip, comp, color, transx, transy,
                     xpoints, ypoints, npoints);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:11,代码来源:GDIRenderer.java

示例9: drawPath

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
protected void drawPath(SunGraphics2D sg2d,
                        Path2D.Float p2df, int transx, int transy)
{
    GraphicsPrimitive.tracePrimitive("D3DDrawPath");
    d3dr.drawPath(sg2d, p2df, transx, transy);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:7,代码来源:D3DRenderer.java

示例10: XFillRect

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
void XFillRect(long pXSData, long xgc,
               int x, int y, int w, int h)
{
    GraphicsPrimitive.tracePrimitive("X11FillRect");
    super.XFillRect(pXSData, xgc, x, y, w, h);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:7,代码来源:X11Renderer.java

示例11: drawLine

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void drawLine(SunGraphics2D sg2d,
                     int x1, int y1, int x2, int y2)
{
    GraphicsPrimitive.tracePrimitive("OGLDrawLine");
    oglr.drawLine(sg2d, x1, y1, x2, y2);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:7,代码来源:OGLRenderer.java

示例12: fillRect

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) {
    GraphicsPrimitive.tracePrimitive("OGLFillRect");
    oglr.fillRect(sg2d, x, y, w, h);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:5,代码来源:OGLRenderer.java

示例13: drawLine

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void drawLine(SunGraphics2D sg2d,
                     int x1, int y1, int x2, int y2)
{
    GraphicsPrimitive.tracePrimitive("D3DDrawLine");
    d3dr.drawLine(sg2d, x1, y1, x2, y2);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:7,代码来源:D3DRenderer.java

示例14: copyArea

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
public void copyArea(SunGraphics2D sg2d,
                     int x, int y, int w, int h, int dx, int dy)
{
    GraphicsPrimitive.tracePrimitive("D3DCopyArea");
    d3dr.copyArea(sg2d, x, y, w, h, dx, dy);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:D3DRenderer.java

示例15: fillPath

import sun.java2d.loops.GraphicsPrimitive; //导入方法依赖的package包/类
protected void fillPath(SunGraphics2D sg2d,
                        Path2D.Float p2df, int transx, int transy)
{
    GraphicsPrimitive.tracePrimitive("OGLFillPath");
    oglr.fillPath(sg2d, p2df, transx, transy);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:7,代码来源:OGLRenderer.java


注:本文中的sun.java2d.loops.GraphicsPrimitive.tracePrimitive方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。