回复 5# zxxputian
晕倒,你这个也不行
D:\autoit3\Include\GDIPlusex.au3"(109,151) : error: $tagGDIPCOLORMATRIX previously declared as a 'Const'.
Global Const $tagGDIPCOLORMATRIX = "float m[25];" ; [5][5] matrix; [0][0] - red, [1][1] - green, [2][2] - blue; [3][3] - alpha, [4][4] - ~should~ be 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(112,33) : error: $GDIP_RLUM previously declared as a 'Const'.
Global Const $GDIP_RLUM = 0.3086
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(113,33) : error: $GDIP_GLUM previously declared as a 'Const'.
Global Const $GDIP_GLUM = 0.6094
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(114,33) : error: $GDIP_BLUM previously declared as a 'Const'.
Global Const $GDIP_BLUM = 0.0820
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2073,44) : error: _GDIPlus_BitmapCreateFromHICON() already defined.
Func _GDIPlus_BitmapCreateFromHICON($hIcon)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2096,63) : error: _GDIPlus_BitmapCreateFromResource() already defined.
Func _GDIPlus_BitmapCreateFromResource($hInst, $vResourceName)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2143,110) : error: _GDIPlus_BitmapCreateFromScan0() already defined.
Func _GDIPlus_BitmapCreateFromScan0($iWidth, $iHeight, $iStride = 0, $iPixelFormat = 0x0026200A, $pScan0 = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2165,47) : error: _GDIPlus_BitmapCreateFromStream() already defined.
Func _GDIPlus_BitmapCreateFromStream($pStream)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2211,49) : error: _GDIPlus_BitmapGetPixel() already defined.
Func _GDIPlus_BitmapGetPixel($hBitmap, $iX, $iY)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2236,57) : error: _GDIPlus_BitmapSetPixel() already defined.
Func _GDIPlus_BitmapSetPixel($hBitmap, $iX, $iY, $iARGB)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2282,46) : error: _GDIPlus_HICONCreateFromBitmap() already defined.
Func _GDIPlus_HICONCreateFromBitmap($hBitmap)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2358,34) : error: _GDIPlus_ColorMatrixCreate() already defined.
Func _GDIPlus_ColorMatrixCreate()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2374,43) : error: _GDIPlus_ColorMatrixCreateGrayScale() already defined.
Func _GDIPlus_ColorMatrixCreateGrayScale()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2402,42) : error: _GDIPlus_ColorMatrixCreateNegative() already defined.
Func _GDIPlus_ColorMatrixCreateNegative()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2426,49) : error: _GDIPlus_ColorMatrixCreateSaturation() already defined.
Func _GDIPlus_ColorMatrixCreateSaturation($nSat)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2465,74) : error: _GDIPlus_ColorMatrixCreateScale() already defined.
Func _GDIPlus_ColorMatrixCreateScale($nRed, $nGreen, $nBlue, $nAlpha = 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2493,78) : error: _GDIPlus_ColorMatrixCreateTranslate() already defined.
Func _GDIPlus_ColorMatrixCreateTranslate($nRed, $nGreen, $nBlue, $nAlpha = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2901,50) : error: _GDIPlus_CustomLineCapClone() already defined.
Func _GDIPlus_CustomLineCapClone($hCustomLineCap)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(2943,92) : error: _GDIPlus_CustomLineCapCreate() already defined.
Func _GDIPlus_CustomLineCapCreate($hPathFill, $hPathStroke, $iLineCap = 0, $nBaseInset = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3011,58) : error: _GDIPlus_CustomLineCapGetStrokeCaps() already defined.
Func _GDIPlus_CustomLineCapGetStrokeCaps($hCustomLineCap)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3174,80) : error: _GDIPlus_CustomLineCapSetStrokeCaps() already defined.
Func _GDIPlus_CustomLineCapSetStrokeCaps($hCustomLineCap, $iStartCap, $iEndCap)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3449,48) : error: _GDIPlus_FontGetHeight() already defined.
Func _GDIPlus_FontGetHeight($hFont, $hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3799,65) : error: _GDIPlus_FontFamilyGetCellAscent() already defined.
Func _GDIPlus_FontFamilyGetCellAscent($hFontFamily, $iStyle = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3827,66) : error: _GDIPlus_FontFamilyGetCellDescent() already defined.
Func _GDIPlus_FontFamilyGetCellDescent($hFontFamily, $iStyle = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3855,63) : error: _GDIPlus_FontFamilyGetEmHeight() already defined.
Func _GDIPlus_FontFamilyGetEmHeight($hFontFamily, $iStyle = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(3913,66) : error: _GDIPlus_FontFamilyGetLineSpacing() already defined.
Func _GDIPlus_FontFamilyGetLineSpacing($hFontFamily, $iStyle = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4211,83) : error: _GDIPlus_GraphicsDrawClosedCurve2() already defined.
Func _GDIPlus_GraphicsDrawClosedCurve2($hGraphics, $aPoints, $nTension, $hPen = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4261,77) : error: _GDIPlus_GraphicsDrawCurve2() already defined.
Func _GDIPlus_GraphicsDrawCurve2($hGraphics, $aPoints, $nTension, $hPen = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4409,181) : error: _GDIPlus_GraphicsDrawImagePointsRect() already defined.
Func _GDIPlus_GraphicsDrawImagePointsRect($hGraphics, $hImage, $nULX, $nULY, $nURX, $nURY, $nLLX, $nLLY, $nSrcX, $nSrcY, $nSrcWidth, $nSrcHeight, $iUnit = 2, $hImageAttributes = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4536,62) : error: _GDIPlus_GraphicsDrawPath() already defined.
Func _GDIPlus_GraphicsDrawPath($hGraphics, $hPath, $hPen = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4660,101) : error: _GDIPlus_GraphicsFillClosedCurve2() already defined.
Func _GDIPlus_GraphicsFillClosedCurve2($hGraphics, $aPoints, $nTension, $hBrush = 0, $iFillMode = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4701,64) : error: _GDIPlus_GraphicsFillPath() already defined.
Func _GDIPlus_GraphicsFillPath($hGraphics, $hPath, $hBrush = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4836,68) : error: _GDIPlus_GraphicsFillRegion() already defined.
Func _GDIPlus_GraphicsFillRegion($hGraphics, $hRegion, $hBrush = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4946,53) : error: _GDIPlus_GraphicsGetCompositingMode() already defined.
Func _GDIPlus_GraphicsGetCompositingMode($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(4973,56) : error: _GDIPlus_GraphicsGetCompositingQuality() already defined.
Func _GDIPlus_GraphicsGetCompositingQuality($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5047,55) : error: _GDIPlus_GraphicsGetInterpolationMode() already defined.
Func _GDIPlus_GraphicsGetInterpolationMode($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5253,57) : error: _GDIPlus_GraphicsGetTransform() already defined.
Func _GDIPlus_GraphicsGetTransform($hGraphics, $hMatrix)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5438,44) : error: _GDIPlus_GraphicsResetClip() already defined.
Func _GDIPlus_GraphicsResetClip($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5482,49) : error: _GDIPlus_GraphicsResetTransform() already defined.
Func _GDIPlus_GraphicsResetTransform($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5510,51) : error: _GDIPlus_GraphicsRestore() already defined.
Func _GDIPlus_GraphicsRestore($hGraphics, $iState)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5536,72) : error: _GDIPlus_GraphicsRotateTransform() already defined.
Func _GDIPlus_GraphicsRotateTransform($hGraphics, $nAngle, $iOrder = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5558,39) : error: _GDIPlus_GraphicsSave() already defined.
Func _GDIPlus_GraphicsSave($hGraphics)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5585,82) : error: _GDIPlus_GraphicsScaleTransform() already defined.
Func _GDIPlus_GraphicsScaleTransform($hGraphics, $nScaleX, $nScaleY, $iOrder = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5681,73) : error: _GDIPlus_GraphicsSetClipPath() already defined.
Func _GDIPlus_GraphicsSetClipPath($hGraphics, $hPath, $iCombineMode = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5714,94) : error: _GDIPlus_GraphicsSetClipRect() already defined.
Func _GDIPlus_GraphicsSetClipRect($hGraphics, $nX, $nY, $nWidth, $nHeight, $iCombineMode = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5745,77) : error: _GDIPlus_GraphicsSetClipRegion() already defined.
Func _GDIPlus_GraphicsSetClipRegion($hGraphics, $hRegion, $iCombineMode = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5770,72) : error: _GDIPlus_GraphicsSetCompositingMode() already defined.
Func _GDIPlus_GraphicsSetCompositingMode($hGraphics, $iCompositionMode)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\autoit3\Include\GDIPlusex.au3"(5798,78) : error: _GDIPlus_GraphicsSetCompositingQuality() already defined.
Func _GDIPlus_GraphicsSetCompositingQuality($hGraphics, $iCompositionQuality) |