1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/openvg/openvginterface/test/topenvgu11_stub.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,49 @@
1.4 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// This test stub has been manually created based on the .def file generator
1.18 +// utility available in ../group/openvg11
1.19 +//
1.20 +//
1.21 +
1.22 +#include <VG/openvg.h>
1.23 +#include <VG/vgu.h>
1.24 +
1.25 +#include <e32def.h>
1.26 +#include <e32uid.h>
1.27 +
1.28 +#ifdef __cplusplus
1.29 +extern "C" {
1.30 +#endif
1.31 +
1.32 +
1.33 +// --------------------------------------------------------------------------------------------------------------------------------------------
1.34 +// OpenVG VGU functions
1.35 + EXPORT_C VGUErrorCode vguArc(VGPath /*path*/, VGfloat /*x*/, VGfloat /*y*/, VGfloat /*width*/, VGfloat /*height*/, VGfloat /*startAngle*/, VGfloat /*angleExtent*/, VGUArcType /*arcType*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.36 +EXPORT_C VGUErrorCode vguComputeWarpQuadToQuad(VGfloat /*dx0*/, VGfloat /*dy0*/, VGfloat /*dx1*/, VGfloat /*dy1*/, VGfloat /*dx2*/, VGfloat /*dy2*/, VGfloat /*dx3*/, VGfloat /*dy3*/, VGfloat /*sx0*/, VGfloat /*sy0*/, VGfloat /*sx1*/, VGfloat /*sy1*/, VGfloat /*sx2*/, VGfloat /*sy2*/, VGfloat /*sx3*/, VGfloat /*sy3*/, VGfloat * /*matrix*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.37 +EXPORT_C VGUErrorCode vguComputeWarpQuadToSquare(VGfloat /*sx0*/, VGfloat /*sy0*/, VGfloat /*sx1*/, VGfloat /*sy1*/, VGfloat /*sx2*/, VGfloat /*sy2*/, VGfloat /*sx3*/, VGfloat /*sy3*/, VGfloat * /*matrix*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.38 +EXPORT_C VGUErrorCode vguComputeWarpSquareToQuad(VGfloat /*dx0*/, VGfloat /*dy0*/, VGfloat /*dx1*/, VGfloat /*dy1*/, VGfloat /*dx2*/, VGfloat /*dy2*/, VGfloat /*dx3*/, VGfloat /*dy3*/, VGfloat * /*matrix*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.39 +EXPORT_C VGUErrorCode vguEllipse(VGPath /*path*/, VGfloat /*cx*/, VGfloat /*cy*/, VGfloat /*width*/, VGfloat /*height*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.40 +EXPORT_C VGUErrorCode vguLine(VGPath /*path*/, VGfloat /*x0*/, VGfloat /*y0*/, VGfloat /*x1*/, VGfloat /*y1*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.41 +EXPORT_C VGUErrorCode vguPolygon(VGPath /*path*/, const VGfloat * /*points*/, VGint /*count*/, VGboolean /*closed*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.42 +EXPORT_C VGUErrorCode vguRect(VGPath /*path*/, VGfloat /*x*/, VGfloat /*y*/, VGfloat /*width*/, VGfloat /*height*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.43 +EXPORT_C VGUErrorCode vguRoundRect(VGPath /*path*/, VGfloat /*x*/, VGfloat /*y*/, VGfloat /*width*/, VGfloat /*height*/, VGfloat /*arcWidth*/, VGfloat /*arcHeight*/) { return VGU_ILLEGAL_ARGUMENT_ERROR; }
1.44 +
1.45 +// --------------------------------------------------------------------------------------------------------------------------------------------
1.46 +// END: OpenVG VGU
1.47 +// --------------------------------------------------------------------------------------------------------------------------------------------
1.48 +
1.49 +
1.50 +#ifdef __cplusplus
1.51 +}
1.52 +#endif