Java Code Examples for sun.java2d.loops.MaskFill#getFromCache()

The following examples show how to use sun.java2d.loops.MaskFill#getFromCache() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SurfaceData.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 2
Source File: SurfaceData.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 3
Source File: SurfaceData.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 4
Source File: SurfaceData.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 5
Source File: SurfaceData.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 6
Source File: SurfaceData.java    From Bytecoder with Apache License 2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 7
Source File: SurfaceData.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 8
Source File: SurfaceData.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 9
Source File: SurfaceData.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 10
Source File: SurfaceData.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 11
Source File: SurfaceData.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 12
Source File: SurfaceData.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 13
Source File: SurfaceData.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}
 
Example 14
Source File: SurfaceData.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Returns a MaskFill object that can be used on this destination
 * with the source (paint) and composite types determined by the given
 * SunGraphics2D, or null if no such MaskFill object can be located.
 * Subclasses can override this method if they wish to filter other
 * attributes (such as the hardware capabilities of the destination
 * surface) before returning a specific MaskFill object.
 */
protected MaskFill getMaskFill(SunGraphics2D sg2d) {
    SurfaceType src = getPaintSurfaceType(sg2d);
    CompositeType comp = getFillCompositeType(sg2d);
    SurfaceType dst = getSurfaceType();
    return MaskFill.getFromCache(src, comp, dst);
}