/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// these flags are not defined on Tiger on PPC, so we need to make them a no-op
#if !defined(kCGBitmapByteOrder32Host)
#define kCGBitmapByteOrder32Host 0
#endif
#if !defined(kCGBitmapByteOrder16Host)
#define kCGBitmapByteOrder16Host 0
#endif
// NOTE : Modify the printSurfaceDataDiagnostics API if you change this enum
enum SDRenderType
{
};
struct _stateShadingInfo
{
};
struct _statePatternInfo
{
};
struct _stateGraphicsInfo
{
};
struct _QuartzSDOps
{
// rdar://problem/5214320
// Gradient/Texture fills of Java GeneralPath don't respect the even odd winding rule (quartz pipeline).
// SetUpCGContext(...) is SD_EOFILL.
// The reason for this field is because SetUpCGContext(...) can
// change the render type after calling SetUpPaint(...), and right
// after that, the possibly new render type is then assigned into
// qsdo->renderType. Sigh!!!
// This field is potentially used within CompleteCGContext(...) or
// its callees.
};
SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY);
} \
}