1 /* 2 * Copyright (C) 2007 Google (Evan Stade) 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 19 #ifndef _FLATAPI_H 20 #define _FLATAPI_H 21 22 #define WINGDIPAPI __stdcall 23 24 #define GDIPCONST const 25 26 #ifdef __cplusplus 27 extern "C" 28 { 29 #endif 30 31 /* AdjustableArrowCap */ 32 GpStatus WINGDIPAPI 33 GdipCreateAdjustableArrowCap(REAL, REAL, BOOL, GpAdjustableArrowCap **); 34 GpStatus WINGDIPAPI 35 GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap *, BOOL *); 36 GpStatus WINGDIPAPI 37 GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap *, REAL *); 38 GpStatus WINGDIPAPI 39 GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *, REAL *); 40 GpStatus WINGDIPAPI 41 GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap *, REAL *); 42 GpStatus WINGDIPAPI 43 GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap *, BOOL); 44 GpStatus WINGDIPAPI 45 GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap *, REAL); 46 GpStatus WINGDIPAPI 47 GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *, REAL); 48 GpStatus WINGDIPAPI 49 GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap *, REAL); 50 51 /* Bitmap */ 52 GpStatus WINGDIPAPI 53 GdipBitmapApplyEffect(GpBitmap *, CGpEffect *, RECT *, BOOL, VOID **, INT *); 54 GpStatus WINGDIPAPI 55 GdipBitmapCreateApplyEffect(GpBitmap **, INT, CGpEffect *, RECT *, RECT *, GpBitmap **, BOOL, VOID **, INT *); 56 GpStatus WINGDIPAPI 57 GdipBitmapGetHistogram(GpBitmap *, HistogramFormat, UINT, UINT *, UINT *, UINT *, UINT *); 58 GpStatus WINGDIPAPI 59 GdipBitmapGetHistogramSize(HistogramFormat, UINT *); 60 GpStatus WINGDIPAPI 61 GdipBitmapGetPixel(GpBitmap *, INT, INT, ARGB *); 62 GpStatus WINGDIPAPI 63 GdipBitmapLockBits(GpBitmap *, GDIPCONST GpRect *, UINT, PixelFormat, BitmapData *); 64 GpStatus WINGDIPAPI 65 GdipBitmapSetPixel(GpBitmap *, INT, INT, ARGB); 66 GpStatus WINGDIPAPI 67 GdipBitmapSetResolution(GpBitmap *, REAL, REAL); 68 GpStatus WINGDIPAPI 69 GdipBitmapUnlockBits(GpBitmap *, BitmapData *); 70 GpStatus WINGDIPAPI 71 GdipCloneBitmapArea(REAL, REAL, REAL, REAL, PixelFormat, GpBitmap *, GpBitmap **); 72 GpStatus WINGDIPAPI 73 GdipCloneBitmapAreaI(INT, INT, INT, INT, PixelFormat, GpBitmap *, GpBitmap **); 74 GpStatus WINGDIPAPI 75 GdipCreateBitmapFromFile(GDIPCONST WCHAR *, GpBitmap **); 76 GpStatus WINGDIPAPI 77 GdipCreateBitmapFromFileICM(GDIPCONST WCHAR *, GpBitmap **); 78 GpStatus WINGDIPAPI 79 GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO *, VOID *, GpBitmap **); 80 GpStatus WINGDIPAPI 81 GdipCreateBitmapFromGraphics(INT, INT, GpGraphics *, GpBitmap **); 82 GpStatus WINGDIPAPI 83 GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap **); 84 GpStatus WINGDIPAPI 85 GdipCreateBitmapFromHICON(HICON, GpBitmap **); 86 GpStatus WINGDIPAPI 87 GdipCreateBitmapFromResource(HINSTANCE, GDIPCONST WCHAR *, GpBitmap **); 88 GpStatus WINGDIPAPI 89 GdipCreateBitmapFromScan0(INT, INT, INT, PixelFormat, BYTE *, GpBitmap **); 90 GpStatus WINGDIPAPI 91 GdipCreateBitmapFromStream(IStream *, GpBitmap **); 92 GpStatus WINGDIPAPI 93 GdipCreateBitmapFromStreamICM(IStream *, GpBitmap **); 94 GpStatus WINGDIPAPI 95 GdipCreateHBITMAPFromBitmap(GpBitmap *, HBITMAP *, ARGB); 96 GpStatus WINGDIPAPI 97 GdipCreateHICONFromBitmap(GpBitmap *, HICON *); 98 GpStatus WINGDIPAPI 99 GdipDeleteEffect(CGpEffect *); 100 GpStatus WINGDIPAPI 101 GdipSetEffectParameters(CGpEffect *, const VOID *, const UINT); 102 103 /* Brush */ 104 GpStatus WINGDIPAPI 105 GdipCloneBrush(GpBrush *, GpBrush **); 106 GpStatus WINGDIPAPI 107 GdipDeleteBrush(GpBrush *); 108 GpStatus WINGDIPAPI 109 GdipGetBrushType(GpBrush *, GpBrushType *); 110 111 /* CachedBitmap */ 112 GpStatus WINGDIPAPI 113 GdipCreateCachedBitmap(GpBitmap *, GpGraphics *, GpCachedBitmap **); 114 GpStatus WINGDIPAPI 115 GdipDeleteCachedBitmap(GpCachedBitmap *); 116 GpStatus WINGDIPAPI 117 GdipDrawCachedBitmap(GpGraphics *, GpCachedBitmap *, INT, INT); 118 119 /* CustomLineCap */ 120 GpStatus WINGDIPAPI 121 GdipCloneCustomLineCap(GpCustomLineCap *, GpCustomLineCap **); 122 GpStatus WINGDIPAPI 123 GdipCreateCustomLineCap(GpPath *, GpPath *, GpLineCap, REAL, GpCustomLineCap **); 124 GpStatus WINGDIPAPI 125 GdipDeleteCustomLineCap(GpCustomLineCap *); 126 GpStatus WINGDIPAPI 127 GdipGetCustomLineCapBaseCap(GpCustomLineCap *, GpLineCap *); 128 GpStatus WINGDIPAPI 129 GdipSetCustomLineCapBaseCap(GpCustomLineCap *, GpLineCap); 130 GpStatus WINGDIPAPI 131 GdipGetCustomLineCapBaseInset(GpCustomLineCap *, REAL *); 132 GpStatus WINGDIPAPI 133 GdipSetCustomLineCapBaseInset(GpCustomLineCap *, REAL); 134 GpStatus WINGDIPAPI 135 GdipSetCustomLineCapStrokeCaps(GpCustomLineCap *, GpLineCap, GpLineCap); 136 GpStatus WINGDIPAPI 137 GdipGetCustomLineCapStrokeJoin(GpCustomLineCap *, GpLineJoin *); 138 GpStatus WINGDIPAPI 139 GdipSetCustomLineCapStrokeJoin(GpCustomLineCap *, GpLineJoin); 140 GpStatus WINGDIPAPI 141 GdipGetCustomLineCapWidthScale(GpCustomLineCap *, REAL *); 142 GpStatus WINGDIPAPI 143 GdipSetCustomLineCapWidthScale(GpCustomLineCap *, REAL); 144 GpStatus WINGDIPAPI 145 GdipSetCustomLineCapBaseInset(GpCustomLineCap *, REAL); 146 GpStatus WINGDIPAPI 147 GdipGetCustomLineCapType(GpCustomLineCap *, CustomLineCapType *); 148 149 /* Font */ 150 GpStatus WINGDIPAPI 151 GdipCloneFont(GpFont *, GpFont **); 152 GpStatus WINGDIPAPI 153 GdipCreateFont(GDIPCONST GpFontFamily *, REAL, INT, Unit, GpFont **); 154 GpStatus WINGDIPAPI 155 GdipCreateFontFromDC(HDC, GpFont **); 156 GpStatus WINGDIPAPI 157 GdipCreateFontFromLogfontA(HDC, GDIPCONST LOGFONTA *, GpFont **); 158 GpStatus WINGDIPAPI 159 GdipCreateFontFromLogfontW(HDC, GDIPCONST LOGFONTW *, GpFont **); 160 GpStatus WINGDIPAPI 161 GdipDeleteFont(GpFont *); 162 GpStatus WINGDIPAPI 163 GdipGetLogFontA(GpFont *, GpGraphics *, LOGFONTA *); 164 GpStatus WINGDIPAPI 165 GdipGetLogFontW(GpFont *, GpGraphics *, LOGFONTW *); 166 GpStatus WINGDIPAPI 167 GdipGetFamily(GpFont *, GpFontFamily **); 168 GpStatus WINGDIPAPI 169 GdipGetFontUnit(GpFont *, Unit *); 170 GpStatus WINGDIPAPI 171 GdipGetFontSize(GpFont *, REAL *); 172 GpStatus WINGDIPAPI 173 GdipGetFontStyle(GpFont *, INT *); 174 GpStatus WINGDIPAPI 175 GdipGetFontHeight(GDIPCONST GpFont *, GDIPCONST GpGraphics *, REAL *); 176 GpStatus WINGDIPAPI 177 GdipGetFontHeightGivenDPI(GDIPCONST GpFont *, REAL, REAL *); 178 179 /* FontCollection */ 180 GpStatus WINGDIPAPI 181 GdipNewInstalledFontCollection(GpFontCollection **); 182 GpStatus WINGDIPAPI 183 GdipNewPrivateFontCollection(GpFontCollection **); 184 GpStatus WINGDIPAPI 185 GdipDeletePrivateFontCollection(GpFontCollection **); 186 GpStatus WINGDIPAPI 187 GdipPrivateAddFontFile(GpFontCollection *, GDIPCONST WCHAR *); 188 GpStatus WINGDIPAPI 189 GdipPrivateAddMemoryFont(GpFontCollection *, GDIPCONST void *, INT); 190 GpStatus WINGDIPAPI 191 GdipGetFontCollectionFamilyCount(GpFontCollection *, INT *); 192 GpStatus WINGDIPAPI 193 GdipGetFontCollectionFamilyList(GpFontCollection *, INT, GpFontFamily *[], INT *); 194 195 /* FontFamily */ 196 GpStatus WINGDIPAPI 197 GdipCloneFontFamily(GpFontFamily *, GpFontFamily **); 198 GpStatus WINGDIPAPI 199 GdipCreateFontFamilyFromName(GDIPCONST WCHAR *, GpFontCollection *, GpFontFamily **); 200 GpStatus WINGDIPAPI 201 GdipDeleteFontFamily(GpFontFamily *); 202 GpStatus WINGDIPAPI 203 GdipGetFamilyName(GDIPCONST GpFontFamily *, WCHAR *, LANGID); 204 GpStatus WINGDIPAPI 205 GdipGetCellAscent(GDIPCONST GpFontFamily *, INT, UINT16 *); 206 GpStatus WINGDIPAPI 207 GdipGetCellDescent(GDIPCONST GpFontFamily *, INT, UINT16 *); 208 GpStatus WINGDIPAPI 209 GdipGetEmHeight(GDIPCONST GpFontFamily *, INT, UINT16 *); 210 GpStatus WINGDIPAPI 211 GdipGetGenericFontFamilySansSerif(GpFontFamily **); 212 GpStatus WINGDIPAPI 213 GdipGetGenericFontFamilySerif(GpFontFamily **); 214 GpStatus WINGDIPAPI 215 GdipGetGenericFontFamilyMonospace(GpFontFamily **); 216 GpStatus WINGDIPAPI 217 GdipGetLineSpacing(GDIPCONST GpFontFamily *, INT, UINT16 *); 218 GpStatus WINGDIPAPI 219 GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL *); 220 221 /* Graphics */ 222 GpStatus WINGDIPAPI 223 GdipFlush(GpGraphics *, GpFlushIntention); 224 GpStatus WINGDIPAPI 225 GdipBeginContainer(GpGraphics *, GDIPCONST GpRectF *, GDIPCONST GpRectF *, GpUnit, GraphicsContainer *); 226 GpStatus WINGDIPAPI 227 GdipBeginContainer2(GpGraphics *, GraphicsContainer *); 228 GpStatus WINGDIPAPI 229 GdipBeginContainerI(GpGraphics *, GDIPCONST GpRect *, GDIPCONST GpRect *, GpUnit, GraphicsContainer *); 230 GpStatus WINGDIPAPI 231 GdipEndContainer(GpGraphics *, GraphicsContainer); 232 GpStatus WINGDIPAPI 233 GdipComment(GpGraphics *, UINT, GDIPCONST BYTE *); 234 GpStatus WINGDIPAPI 235 GdipCreateFromHDC(HDC, GpGraphics **); 236 GpStatus WINGDIPAPI 237 GdipCreateFromHDC2(HDC, HANDLE, GpGraphics **); 238 GpStatus WINGDIPAPI 239 GdipCreateFromHWND(HWND, GpGraphics **); 240 GpStatus WINGDIPAPI 241 GdipCreateFromHWNDICM(HWND, GpGraphics **); 242 HPALETTE WINGDIPAPI 243 GdipCreateHalftonePalette(void); 244 GpStatus WINGDIPAPI 245 GdipDeleteGraphics(GpGraphics *); 246 GpStatus WINGDIPAPI 247 GdipDrawArc(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL); 248 GpStatus WINGDIPAPI 249 GdipDrawArcI(GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL); 250 GpStatus WINGDIPAPI 251 GdipDrawBezier(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL); 252 GpStatus WINGDIPAPI 253 GdipDrawBezierI(GpGraphics *, GpPen *, INT, INT, INT, INT, INT, INT, INT, INT); 254 GpStatus WINGDIPAPI 255 GdipDrawBeziers(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT); 256 GpStatus WINGDIPAPI 257 GdipDrawBeziersI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT); 258 GpStatus WINGDIPAPI 259 GdipDrawClosedCurve(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT); 260 GpStatus WINGDIPAPI 261 GdipDrawClosedCurveI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT); 262 GpStatus WINGDIPAPI 263 GdipDrawClosedCurve2(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL); 264 GpStatus WINGDIPAPI 265 GdipDrawClosedCurve2I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL); 266 GpStatus WINGDIPAPI 267 GdipDrawCurve(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT); 268 GpStatus WINGDIPAPI 269 GdipDrawCurveI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT); 270 GpStatus WINGDIPAPI 271 GdipDrawCurve2(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL); 272 GpStatus WINGDIPAPI 273 GdipDrawCurve2I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL); 274 GpStatus WINGDIPAPI 275 GdipDrawCurve3(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, INT, INT, REAL); 276 GpStatus WINGDIPAPI 277 GdipDrawCurve3I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, INT, INT, REAL); 278 GpStatus WINGDIPAPI 279 GdipDrawDriverString( 280 GpGraphics *, 281 GDIPCONST UINT16 *, 282 INT, 283 GDIPCONST GpFont *, 284 GDIPCONST GpBrush *, 285 GDIPCONST PointF *, 286 INT, 287 GDIPCONST GpMatrix *); 288 GpStatus WINGDIPAPI 289 GdipDrawEllipse(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL); 290 GpStatus WINGDIPAPI 291 GdipDrawEllipseI(GpGraphics *, GpPen *, INT, INT, INT, INT); 292 GpStatus WINGDIPAPI 293 GdipDrawImage(GpGraphics *, GpImage *, REAL, REAL); 294 GpStatus WINGDIPAPI 295 GdipDrawImageI(GpGraphics *, GpImage *, INT, INT); 296 GpStatus WINGDIPAPI 297 GdipDrawImagePointRect(GpGraphics *, GpImage *, REAL, REAL, REAL, REAL, REAL, REAL, GpUnit); 298 GpStatus WINGDIPAPI 299 GdipDrawImagePointRectI(GpGraphics *, GpImage *, INT, INT, INT, INT, INT, INT, GpUnit); 300 GpStatus WINGDIPAPI 301 GdipDrawImagePoints(GpGraphics *, GpImage *, GDIPCONST GpPointF *, INT); 302 GpStatus WINGDIPAPI 303 GdipDrawImagePointsI(GpGraphics *, GpImage *, GDIPCONST GpPoint *, INT); 304 GpStatus WINGDIPAPI 305 GdipDrawImagePointsRect( 306 GpGraphics *, 307 GpImage *, 308 GDIPCONST GpPointF *, 309 INT, 310 REAL, 311 REAL, 312 REAL, 313 REAL, 314 GpUnit, 315 GDIPCONST GpImageAttributes *, 316 DrawImageAbort, 317 VOID *); 318 GpStatus WINGDIPAPI 319 GdipDrawImagePointsRectI( 320 GpGraphics *, 321 GpImage *, 322 GDIPCONST GpPoint *, 323 INT, 324 INT, 325 INT, 326 INT, 327 INT, 328 GpUnit, 329 GDIPCONST GpImageAttributes *, 330 DrawImageAbort, 331 VOID *); 332 GpStatus WINGDIPAPI 333 GdipDrawImageRect(GpGraphics *, GpImage *, REAL, REAL, REAL, REAL); 334 GpStatus WINGDIPAPI 335 GdipDrawImageRectI(GpGraphics *, GpImage *, INT, INT, INT, INT); 336 GpStatus WINGDIPAPI 337 GdipDrawImageRectRect( 338 GpGraphics *, 339 GpImage *, 340 REAL, 341 REAL, 342 REAL, 343 REAL, 344 REAL, 345 REAL, 346 REAL, 347 REAL, 348 GpUnit, 349 GDIPCONST GpImageAttributes *, 350 DrawImageAbort, 351 VOID *); 352 GpStatus WINGDIPAPI 353 GdipDrawImageRectRectI( 354 GpGraphics *, 355 GpImage *, 356 INT, 357 INT, 358 INT, 359 INT, 360 INT, 361 INT, 362 INT, 363 INT, 364 GpUnit, 365 GDIPCONST GpImageAttributes *, 366 DrawImageAbort, 367 VOID *); 368 GpStatus WINGDIPAPI 369 GdipDrawLine(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL); 370 GpStatus WINGDIPAPI 371 GdipDrawLineI(GpGraphics *, GpPen *, INT, INT, INT, INT); 372 GpStatus WINGDIPAPI 373 GdipDrawLines(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT); 374 GpStatus WINGDIPAPI 375 GdipDrawLinesI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT); 376 GpStatus WINGDIPAPI 377 GdipDrawPath(GpGraphics *, GpPen *, GpPath *); 378 GpStatus WINGDIPAPI 379 GdipDrawPie(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL); 380 GpStatus WINGDIPAPI 381 GdipDrawPieI(GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL); 382 GpStatus WINGDIPAPI 383 GdipDrawPolygon(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT); 384 GpStatus WINGDIPAPI 385 GdipDrawPolygonI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT); 386 GpStatus WINGDIPAPI 387 GdipDrawRectangle(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL); 388 GpStatus WINGDIPAPI 389 GdipDrawRectangleI(GpGraphics *, GpPen *, INT, INT, INT, INT); 390 GpStatus WINGDIPAPI 391 GdipDrawRectangles(GpGraphics *, GpPen *, GDIPCONST GpRectF *, INT); 392 GpStatus WINGDIPAPI 393 GdipDrawRectanglesI(GpGraphics *, GpPen *, GDIPCONST GpRect *, INT); 394 GpStatus WINGDIPAPI 395 GdipDrawString( 396 GpGraphics *, 397 GDIPCONST WCHAR *, 398 INT, 399 GDIPCONST GpFont *, 400 GDIPCONST RectF *, 401 GDIPCONST GpStringFormat *, 402 GDIPCONST GpBrush *); 403 GpStatus WINGDIPAPI 404 GdipEnumerateMetafileDestPoint( 405 GpGraphics *, 406 GDIPCONST GpMetafile *, 407 GDIPCONST GpPointF *, 408 EnumerateMetafileProc, 409 VOID *, 410 GDIPCONST GpImageAttributes *); 411 GpStatus WINGDIPAPI 412 GdipEnumerateMetafileDestPointI( 413 GpGraphics *, 414 GDIPCONST GpMetafile *, 415 GDIPCONST GpPoint *, 416 EnumerateMetafileProc, 417 VOID *, 418 GDIPCONST GpImageAttributes *); 419 GpStatus WINGDIPAPI 420 GdipEnumerateMetafileDestRect( 421 GpGraphics *, 422 GDIPCONST GpMetafile *, 423 GDIPCONST GpRectF *, 424 EnumerateMetafileProc, 425 VOID *, 426 GDIPCONST GpImageAttributes *); 427 GpStatus WINGDIPAPI 428 GdipEnumerateMetafileDestRectI( 429 GpGraphics *, 430 GDIPCONST GpMetafile *, 431 GDIPCONST GpRect *, 432 EnumerateMetafileProc, 433 VOID *, 434 GDIPCONST GpImageAttributes *); 435 GpStatus WINGDIPAPI 436 GdipEnumerateMetafileSrcRectDestPoints( 437 GpGraphics *, 438 GDIPCONST GpMetafile *, 439 GDIPCONST GpPointF *, 440 INT, 441 GDIPCONST GpRectF *, 442 Unit, 443 EnumerateMetafileProc, 444 VOID *, 445 GDIPCONST GpImageAttributes *); 446 GpStatus WINGDIPAPI 447 GdipFillClosedCurve2(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, REAL, GpFillMode); 448 GpStatus WINGDIPAPI 449 GdipFillClosedCurve2I(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, REAL, GpFillMode); 450 GpStatus WINGDIPAPI 451 GdipFillClosedCurve(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT); 452 GpStatus WINGDIPAPI 453 GdipFillClosedCurveI(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT); 454 GpStatus WINGDIPAPI 455 GdipFillEllipse(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL); 456 GpStatus WINGDIPAPI 457 GdipFillEllipseI(GpGraphics *, GpBrush *, INT, INT, INT, INT); 458 GpStatus WINGDIPAPI 459 GdipFillPath(GpGraphics *, GpBrush *, GpPath *); 460 GpStatus WINGDIPAPI 461 GdipFillPie(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL, REAL, REAL); 462 GpStatus WINGDIPAPI 463 GdipFillPieI(GpGraphics *, GpBrush *, INT, INT, INT, INT, REAL, REAL); 464 GpStatus WINGDIPAPI 465 GdipFillPolygon(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, GpFillMode); 466 GpStatus WINGDIPAPI 467 GdipFillPolygonI(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, GpFillMode); 468 GpStatus WINGDIPAPI 469 GdipFillPolygon2(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT); 470 GpStatus WINGDIPAPI 471 GdipFillPolygon2I(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT); 472 GpStatus WINGDIPAPI 473 GdipFillRectangle(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL); 474 GpStatus WINGDIPAPI 475 GdipFillRectangleI(GpGraphics *, GpBrush *, INT, INT, INT, INT); 476 GpStatus WINGDIPAPI 477 GdipFillRectangles(GpGraphics *, GpBrush *, GDIPCONST GpRectF *, INT); 478 GpStatus WINGDIPAPI 479 GdipFillRectanglesI(GpGraphics *, GpBrush *, GDIPCONST GpRect *, INT); 480 GpStatus WINGDIPAPI 481 GdipFillRegion(GpGraphics *, GpBrush *, GpRegion *); 482 GpStatus WINGDIPAPI 483 GdipGetClip(GpGraphics *, GpRegion *); 484 GpStatus WINGDIPAPI 485 GdipGetClipBounds(GpGraphics *, GpRectF *); 486 GpStatus WINGDIPAPI 487 GdipGetClipBoundsI(GpGraphics *, GpRect *); 488 GpStatus WINGDIPAPI 489 GdipGetCompositingMode(GpGraphics *, CompositingMode *); 490 GpStatus WINGDIPAPI 491 GdipGetCompositingQuality(GpGraphics *, CompositingQuality *); 492 GpStatus WINGDIPAPI 493 GdipGetDC(GpGraphics *, HDC *); 494 GpStatus WINGDIPAPI 495 GdipGetDpiX(GpGraphics *, REAL *); 496 GpStatus WINGDIPAPI 497 GdipGetDpiY(GpGraphics *, REAL *); 498 GpStatus WINGDIPAPI 499 GdipGetImageDecoders(UINT, UINT, ImageCodecInfo *); 500 GpStatus WINGDIPAPI 501 GdipGetImageDecodersSize(UINT *, UINT *); 502 GpStatus WINGDIPAPI 503 GdipGetImageGraphicsContext(GpImage *, GpGraphics **); 504 GpStatus WINGDIPAPI 505 GdipGetInterpolationMode(GpGraphics *, InterpolationMode *); 506 GpStatus WINGDIPAPI 507 GdipGetNearestColor(GpGraphics *, ARGB *); 508 GpStatus WINGDIPAPI 509 GdipGetPageScale(GpGraphics *, REAL *); 510 GpStatus WINGDIPAPI 511 GdipGetPageUnit(GpGraphics *, GpUnit *); 512 GpStatus WINGDIPAPI 513 GdipGetPixelOffsetMode(GpGraphics *, PixelOffsetMode *); 514 GpStatus WINGDIPAPI 515 GdipGetSmoothingMode(GpGraphics *, SmoothingMode *); 516 GpStatus WINGDIPAPI 517 GdipGetTextContrast(GpGraphics *, UINT *); 518 GpStatus WINGDIPAPI 519 GdipGetTextRenderingHint(GpGraphics *, TextRenderingHint *); 520 GpStatus WINGDIPAPI 521 GdipGetWorldTransform(GpGraphics *, GpMatrix *); 522 GpStatus WINGDIPAPI 523 GdipGraphicsClear(GpGraphics *, ARGB); 524 GpStatus WINGDIPAPI 525 GdipGraphicsSetAbort(GpGraphics *, GdiplusAbort *); 526 GpStatus WINGDIPAPI 527 GdipGetVisibleClipBounds(GpGraphics *, GpRectF *); 528 GpStatus WINGDIPAPI 529 GdipGetVisibleClipBoundsI(GpGraphics *, GpRect *); 530 GpStatus WINGDIPAPI 531 GdipInitializePalette(ColorPalette *, PaletteType, INT, BOOL, GpBitmap *); 532 GpStatus WINGDIPAPI 533 GdipIsClipEmpty(GpGraphics *, BOOL *); 534 GpStatus WINGDIPAPI 535 GdipIsVisiblePoint(GpGraphics *, REAL, REAL, BOOL *); 536 GpStatus WINGDIPAPI 537 GdipIsVisiblePointI(GpGraphics *, INT, INT, BOOL *); 538 GpStatus WINGDIPAPI 539 GdipIsVisibleRect(GpGraphics *, REAL, REAL, REAL, REAL, BOOL *); 540 GpStatus WINGDIPAPI 541 GdipIsVisibleRectI(GpGraphics *, INT, INT, INT, INT, BOOL *); 542 GpStatus WINGDIPAPI 543 GdipMeasureCharacterRanges( 544 GpGraphics *, 545 GDIPCONST WCHAR *, 546 INT, 547 GDIPCONST GpFont *, 548 GDIPCONST RectF *, 549 GDIPCONST GpStringFormat *, 550 INT, 551 GpRegion **); 552 GpStatus WINGDIPAPI 553 GdipMeasureDriverString( 554 GpGraphics *, 555 GDIPCONST UINT16 *, 556 INT, 557 GDIPCONST GpFont *, 558 GDIPCONST PointF *, 559 INT, 560 GDIPCONST GpMatrix *, 561 RectF *); 562 GpStatus WINGDIPAPI 563 GdipMeasureString( 564 GpGraphics *, 565 GDIPCONST WCHAR *, 566 INT, 567 GDIPCONST GpFont *, 568 GDIPCONST RectF *, 569 GDIPCONST GpStringFormat *, 570 RectF *, 571 INT *, 572 INT *); 573 GpStatus WINGDIPAPI 574 GdipMultiplyWorldTransform(GpGraphics *, GDIPCONST GpMatrix *, GpMatrixOrder); 575 GpStatus WINGDIPAPI 576 GdipRecordMetafileFileName( 577 GDIPCONST WCHAR *, 578 HDC, 579 EmfType, 580 GDIPCONST GpRectF *, 581 MetafileFrameUnit, 582 GDIPCONST WCHAR *, 583 GpMetafile **); 584 GpStatus WINGDIPAPI 585 GdipRecordMetafileFileNameI( 586 GDIPCONST WCHAR *, 587 HDC, 588 EmfType, 589 GDIPCONST GpRect *, 590 MetafileFrameUnit, 591 GDIPCONST WCHAR *, 592 GpMetafile **); 593 GpStatus WINGDIPAPI 594 GdipRecordMetafileI(HDC, EmfType, GDIPCONST GpRect *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **); 595 GpStatus WINGDIPAPI 596 GdipReleaseDC(GpGraphics *, HDC); 597 GpStatus WINGDIPAPI 598 GdipResetClip(GpGraphics *); 599 GpStatus WINGDIPAPI 600 GdipResetWorldTransform(GpGraphics *); 601 GpStatus WINGDIPAPI 602 GdipRestoreGraphics(GpGraphics *, GraphicsState); 603 GpStatus WINGDIPAPI 604 GdipRotateWorldTransform(GpGraphics *, REAL, GpMatrixOrder); 605 GpStatus WINGDIPAPI 606 GdipSaveGraphics(GpGraphics *, GraphicsState *); 607 GpStatus WINGDIPAPI 608 GdipScaleWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder); 609 GpStatus WINGDIPAPI 610 GdipSetClipHrgn(GpGraphics *, HRGN, CombineMode); 611 GpStatus WINGDIPAPI 612 GdipSetClipGraphics(GpGraphics *, GpGraphics *, CombineMode); 613 GpStatus WINGDIPAPI 614 GdipSetClipPath(GpGraphics *, GpPath *, CombineMode); 615 GpStatus WINGDIPAPI 616 GdipSetClipRect(GpGraphics *, REAL, REAL, REAL, REAL, CombineMode); 617 GpStatus WINGDIPAPI 618 GdipSetClipRectI(GpGraphics *, INT, INT, INT, INT, CombineMode); 619 GpStatus WINGDIPAPI 620 GdipSetClipRegion(GpGraphics *, GpRegion *, CombineMode); 621 GpStatus WINGDIPAPI 622 GdipSetCompositingMode(GpGraphics *, CompositingMode); 623 GpStatus WINGDIPAPI 624 GdipSetCompositingQuality(GpGraphics *, CompositingQuality); 625 GpStatus WINGDIPAPI 626 GdipSetInterpolationMode(GpGraphics *, InterpolationMode); 627 GpStatus WINGDIPAPI 628 GdipSetPageScale(GpGraphics *, REAL); 629 GpStatus WINGDIPAPI 630 GdipSetPageUnit(GpGraphics *, GpUnit); 631 GpStatus WINGDIPAPI 632 GdipSetPixelOffsetMode(GpGraphics *, PixelOffsetMode); 633 GpStatus WINGDIPAPI 634 GdipSetRenderingOrigin(GpGraphics *, INT, INT); 635 GpStatus WINGDIPAPI 636 GdipSetSmoothingMode(GpGraphics *, SmoothingMode); 637 GpStatus WINGDIPAPI 638 GdipSetTextContrast(GpGraphics *, UINT); 639 GpStatus WINGDIPAPI 640 GdipSetTextRenderingHint(GpGraphics *, TextRenderingHint); 641 GpStatus WINGDIPAPI 642 GdipSetWorldTransform(GpGraphics *, GpMatrix *); 643 GpStatus WINGDIPAPI 644 GdipTransformPoints(GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPointF *, INT); 645 GpStatus WINGDIPAPI 646 GdipTransformPointsI(GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPoint *, INT); 647 GpStatus WINGDIPAPI 648 GdipTranslateClip(GpGraphics *, REAL, REAL); 649 GpStatus WINGDIPAPI 650 GdipTranslateClipI(GpGraphics *, INT, INT); 651 GpStatus WINGDIPAPI 652 GdipTranslateWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder); 653 654 /* GraphicsPath */ 655 GpStatus WINGDIPAPI 656 GdipAddPathArc(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL); 657 GpStatus WINGDIPAPI 658 GdipAddPathArcI(GpPath *, INT, INT, INT, INT, REAL, REAL); 659 GpStatus WINGDIPAPI 660 GdipAddPathBezier(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL); 661 GpStatus WINGDIPAPI 662 GdipAddPathBezierI(GpPath *, INT, INT, INT, INT, INT, INT, INT, INT); 663 GpStatus WINGDIPAPI 664 GdipAddPathBeziers(GpPath *, GDIPCONST GpPointF *, INT); 665 GpStatus WINGDIPAPI 666 GdipAddPathBeziersI(GpPath *, GDIPCONST GpPoint *, INT); 667 GpStatus WINGDIPAPI 668 GdipAddPathClosedCurve(GpPath *, GDIPCONST GpPointF *, INT); 669 GpStatus WINGDIPAPI 670 GdipAddPathClosedCurveI(GpPath *, GDIPCONST GpPoint *, INT); 671 GpStatus WINGDIPAPI 672 GdipAddPathClosedCurve2(GpPath *, GDIPCONST GpPointF *, INT, REAL); 673 GpStatus WINGDIPAPI 674 GdipAddPathClosedCurve2I(GpPath *, GDIPCONST GpPoint *, INT, REAL); 675 GpStatus WINGDIPAPI 676 GdipAddPathCurve(GpPath *, GDIPCONST GpPointF *, INT); 677 GpStatus WINGDIPAPI 678 GdipAddPathCurveI(GpPath *, GDIPCONST GpPoint *, INT); 679 GpStatus WINGDIPAPI 680 GdipAddPathCurve2(GpPath *, GDIPCONST GpPointF *, INT, REAL); 681 GpStatus WINGDIPAPI 682 GdipAddPathCurve2I(GpPath *, GDIPCONST GpPoint *, INT, REAL); 683 GpStatus WINGDIPAPI 684 GdipAddPathCurve3(GpPath *, GDIPCONST GpPointF *, INT, INT, INT, REAL); 685 GpStatus WINGDIPAPI 686 GdipAddPathCurve3I(GpPath *, GDIPCONST GpPoint *, INT, INT, INT, REAL); 687 GpStatus WINGDIPAPI 688 GdipAddPathEllipse(GpPath *, REAL, REAL, REAL, REAL); 689 GpStatus WINGDIPAPI 690 GdipAddPathEllipseI(GpPath *, INT, INT, INT, INT); 691 GpStatus WINGDIPAPI 692 GdipAddPathLine(GpPath *, REAL, REAL, REAL, REAL); 693 GpStatus WINGDIPAPI 694 GdipAddPathLineI(GpPath *, INT, INT, INT, INT); 695 GpStatus WINGDIPAPI 696 GdipAddPathLine2(GpPath *, GDIPCONST GpPointF *, INT); 697 GpStatus WINGDIPAPI 698 GdipAddPathLine2I(GpPath *, GDIPCONST GpPoint *, INT); 699 GpStatus WINGDIPAPI 700 GdipAddPathPath(GpPath *, GDIPCONST GpPath *, BOOL); 701 GpStatus WINGDIPAPI 702 GdipAddPathPie(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL); 703 GpStatus WINGDIPAPI 704 GdipAddPathPieI(GpPath *, INT, INT, INT, INT, REAL, REAL); 705 GpStatus WINGDIPAPI 706 GdipAddPathPolygon(GpPath *, GDIPCONST GpPointF *, INT); 707 GpStatus WINGDIPAPI 708 GdipAddPathPolygonI(GpPath *, GDIPCONST GpPoint *, INT); 709 GpStatus WINGDIPAPI 710 GdipAddPathRectangle(GpPath *, REAL, REAL, REAL, REAL); 711 GpStatus WINGDIPAPI 712 GdipAddPathRectangleI(GpPath *, INT, INT, INT, INT); 713 GpStatus WINGDIPAPI 714 GdipAddPathRectangles(GpPath *, GDIPCONST GpRectF *, INT); 715 GpStatus WINGDIPAPI 716 GdipAddPathRectanglesI(GpPath *, GDIPCONST GpRect *, INT); 717 GpStatus WINGDIPAPI 718 GdipAddPathString( 719 GpPath *, 720 GDIPCONST WCHAR *, 721 INT, 722 GDIPCONST GpFontFamily *, 723 INT, 724 REAL, 725 GDIPCONST RectF *, 726 GDIPCONST GpStringFormat *); 727 GpStatus WINGDIPAPI 728 GdipAddPathStringI( 729 GpPath *, 730 GDIPCONST WCHAR *, 731 INT, 732 GDIPCONST GpFontFamily *, 733 INT, 734 REAL, 735 GDIPCONST Rect *, 736 GDIPCONST GpStringFormat *); 737 GpStatus WINGDIPAPI 738 GdipClearPathMarkers(GpPath *); 739 GpStatus WINGDIPAPI 740 GdipClonePath(GpPath *, GpPath **); 741 GpStatus WINGDIPAPI 742 GdipClosePathFigure(GpPath *); 743 GpStatus WINGDIPAPI 744 GdipClosePathFigures(GpPath *); 745 GpStatus WINGDIPAPI 746 GdipCreatePath(GpFillMode, GpPath **); 747 GpStatus WINGDIPAPI 748 GdipCreatePath2(GDIPCONST GpPointF *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **); 749 GpStatus WINGDIPAPI 750 GdipCreatePath2I(GDIPCONST GpPoint *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **); 751 GpStatus WINGDIPAPI 752 GdipDeletePath(GpPath *); 753 GpStatus WINGDIPAPI 754 GdipFlattenPath(GpPath *, GpMatrix *, REAL); 755 GpStatus WINGDIPAPI 756 GdipIsOutlineVisiblePathPoint(GpPath *, REAL, REAL, GpPen *, GpGraphics *, BOOL *); 757 GpStatus WINGDIPAPI 758 GdipIsOutlineVisiblePathPointI(GpPath *, INT, INT, GpPen *, GpGraphics *, BOOL *); 759 GpStatus WINGDIPAPI 760 GdipIsVisiblePathPoint(GpPath *, REAL, REAL, GpGraphics *, BOOL *); 761 GpStatus WINGDIPAPI 762 GdipIsVisiblePathPointI(GpPath *, INT, INT, GpGraphics *, BOOL *); 763 GpStatus WINGDIPAPI 764 GdipGetPathData(GpPath *, GpPathData *); 765 GpStatus WINGDIPAPI 766 GdipGetPathFillMode(GpPath *, GpFillMode *); 767 GpStatus WINGDIPAPI 768 GdipGetPathLastPoint(GpPath *, GpPointF *); 769 GpStatus WINGDIPAPI 770 GdipGetPathPoints(GpPath *, GpPointF *, INT); 771 GpStatus WINGDIPAPI 772 GdipGetPathPointsI(GpPath *, GpPoint *, INT); 773 GpStatus WINGDIPAPI 774 GdipGetPathTypes(GpPath *, BYTE *, INT); 775 GpStatus WINGDIPAPI 776 GdipGetPathWorldBounds(GpPath *, GpRectF *, GDIPCONST GpMatrix *, GDIPCONST GpPen *); 777 GpStatus WINGDIPAPI 778 GdipGetPathWorldBoundsI(GpPath *, GpRect *, GDIPCONST GpMatrix *, GDIPCONST GpPen *); 779 GpStatus WINGDIPAPI 780 GdipGetPointCount(GpPath *, INT *); 781 GpStatus WINGDIPAPI 782 GdipResetPath(GpPath *); 783 GpStatus WINGDIPAPI 784 GdipReversePath(GpPath *); 785 GpStatus WINGDIPAPI 786 GdipSetPathFillMode(GpPath *, GpFillMode); 787 GpStatus WINGDIPAPI 788 GdipSetPathMarker(GpPath *); 789 GpStatus WINGDIPAPI 790 GdipStartPathFigure(GpPath *); 791 GpStatus WINGDIPAPI 792 GdipTransformPath(GpPath *, GpMatrix *); 793 GpStatus WINGDIPAPI 794 GdipWarpPath(GpPath *, GpMatrix *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, WarpMode, REAL); 795 GpStatus WINGDIPAPI 796 GdipWidenPath(GpPath *, GpPen *, GpMatrix *, REAL); 797 798 /* HatchBrush */ 799 GpStatus WINGDIPAPI 800 GdipCreateHatchBrush(GpHatchStyle, ARGB, ARGB, GpHatch **); 801 GpStatus WINGDIPAPI 802 GdipGetHatchBackgroundColor(GpHatch *, ARGB *); 803 GpStatus WINGDIPAPI 804 GdipGetHatchForegroundColor(GpHatch *, ARGB *); 805 GpStatus WINGDIPAPI 806 GdipGetHatchStyle(GpHatch *, GpHatchStyle *); 807 808 /* Image */ 809 GpStatus WINGDIPAPI 810 GdipCloneImage(GpImage *, GpImage **); 811 GpStatus WINGDIPAPI 812 GdipCloneImageAttributes(GDIPCONST GpImageAttributes *, GpImageAttributes **); 813 GpStatus WINGDIPAPI 814 GdipDisposeImage(GpImage *); 815 GpStatus WINGDIPAPI GdipEmfToWmfBits(HENHMETAFILE, UINT, LPBYTE, INT, INT); 816 GpStatus WINGDIPAPI 817 GdipFindFirstImageItem(GpImage *, ImageItemData *); 818 GpStatus WINGDIPAPI 819 GdipFindNextImageItem(GpImage *, ImageItemData *); 820 GpStatus WINGDIPAPI 821 GdipGetAllPropertyItems(GpImage *, UINT, UINT, PropertyItem *); 822 GpStatus WINGDIPAPI 823 GdipGetImageBounds(GpImage *, GpRectF *, GpUnit *); 824 GpStatus WINGDIPAPI 825 GdipGetImageDimension(GpImage *, REAL *, REAL *); 826 GpStatus WINGDIPAPI 827 GdipGetImageFlags(GpImage *, UINT *); 828 GpStatus WINGDIPAPI 829 GdipGetImageHeight(GpImage *, UINT *); 830 GpStatus WINGDIPAPI 831 GdipGetImageHorizontalResolution(GpImage *, REAL *); 832 GpStatus WINGDIPAPI 833 GdipGetImageItemData(GpImage *, ImageItemData *); 834 GpStatus WINGDIPAPI 835 GdipGetImagePalette(GpImage *, ColorPalette *, INT); 836 GpStatus WINGDIPAPI 837 GdipGetImagePaletteSize(GpImage *, INT *); 838 GpStatus WINGDIPAPI 839 GdipGetImagePixelFormat(GpImage *, PixelFormat *); 840 GpStatus WINGDIPAPI 841 GdipGetImageRawFormat(GpImage *, GUID *); 842 GpStatus WINGDIPAPI 843 GdipGetImageThumbnail(GpImage *, UINT, UINT, GpImage **, GetThumbnailImageAbort, VOID *); 844 GpStatus WINGDIPAPI 845 GdipGetImageType(GpImage *, ImageType *); 846 GpStatus WINGDIPAPI 847 GdipGetImageVerticalResolution(GpImage *, REAL *); 848 GpStatus WINGDIPAPI 849 GdipGetImageWidth(GpImage *, UINT *); 850 GpStatus WINGDIPAPI 851 GdipGetPropertyCount(GpImage *, UINT *); 852 GpStatus WINGDIPAPI 853 GdipGetPropertyIdList(GpImage *, UINT, PROPID *); 854 GpStatus WINGDIPAPI 855 GdipGetPropertyItem(GpImage *, PROPID, UINT, PropertyItem *); 856 GpStatus WINGDIPAPI 857 GdipGetPropertyItemSize(GpImage *, PROPID, UINT *); 858 GpStatus WINGDIPAPI 859 GdipGetPropertySize(GpImage *, UINT *, UINT *); 860 GpStatus WINGDIPAPI 861 GdipImageForceValidation(GpImage *); 862 GpStatus WINGDIPAPI 863 GdipImageGetFrameCount(GpImage *, GDIPCONST GUID *, UINT *); 864 GpStatus WINGDIPAPI 865 GdipImageGetFrameDimensionsCount(GpImage *, UINT *); 866 GpStatus WINGDIPAPI 867 GdipImageGetFrameDimensionsList(GpImage *, GUID *, UINT); 868 GpStatus WINGDIPAPI 869 GdipImageRotateFlip(GpImage *, RotateFlipType); 870 GpStatus WINGDIPAPI 871 GdipImageSelectActiveFrame(GpImage *, GDIPCONST GUID *, UINT); 872 GpStatus WINGDIPAPI 873 GdipImageSetAbort(GpImage *, GdiplusAbort *); 874 GpStatus WINGDIPAPI 875 GdipLoadImageFromFile(GDIPCONST WCHAR *, GpImage **); 876 GpStatus WINGDIPAPI 877 GdipLoadImageFromFileICM(GDIPCONST WCHAR *, GpImage **); 878 GpStatus WINGDIPAPI 879 GdipLoadImageFromStream(IStream *, GpImage **); 880 GpStatus WINGDIPAPI 881 GdipLoadImageFromStreamICM(IStream *, GpImage **); 882 GpStatus WINGDIPAPI 883 GdipRemovePropertyItem(GpImage *, PROPID); 884 GpStatus WINGDIPAPI 885 GdipSaveImageToFile(GpImage *, GDIPCONST WCHAR *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *); 886 GpStatus WINGDIPAPI 887 GdipSaveImageToStream(GpImage *, IStream *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *); 888 GpStatus WINGDIPAPI 889 GdipSetImagePalette(GpImage *, GDIPCONST ColorPalette *); 890 GpStatus WINGDIPAPI 891 GdipSetPropertyItem(GpImage *, GDIPCONST PropertyItem *); 892 893 /* ImageAttributes */ 894 GpStatus WINGDIPAPI 895 GdipCreateImageAttributes(GpImageAttributes **); 896 GpStatus WINGDIPAPI 897 GdipDisposeImageAttributes(GpImageAttributes *); 898 GpStatus WINGDIPAPI 899 GdipGetImageAttributesAdjustedPalette(GpImageAttributes *, ColorPalette *, ColorAdjustType); 900 GpStatus WINGDIPAPI 901 GdipSetImageAttributesCachedBackground(GpImageAttributes *, BOOL); 902 GpStatus WINGDIPAPI 903 GdipSetImageAttributesColorKeys(GpImageAttributes *, ColorAdjustType, BOOL, ARGB, ARGB); 904 GpStatus WINGDIPAPI 905 GdipSetImageAttributesColorMatrix( 906 GpImageAttributes *, 907 ColorAdjustType, 908 BOOL, 909 GDIPCONST ColorMatrix *, 910 GDIPCONST ColorMatrix *, 911 ColorMatrixFlags); 912 GpStatus WINGDIPAPI 913 GdipSetImageAttributesGamma(GpImageAttributes *, ColorAdjustType, BOOL, REAL); 914 GpStatus WINGDIPAPI 915 GdipSetImageAttributesNoOp(GpImageAttributes *, ColorAdjustType, BOOL); 916 GpStatus WINGDIPAPI 917 GdipSetImageAttributesOutputChannel(GpImageAttributes *, ColorAdjustType, BOOL, ColorChannelFlags); 918 GpStatus WINGDIPAPI 919 GdipSetImageAttributesOutputChannelColorProfile(GpImageAttributes *, ColorAdjustType, BOOL, GDIPCONST WCHAR *); 920 GpStatus WINGDIPAPI 921 GdipSetImageAttributesRemapTable(GpImageAttributes *, ColorAdjustType, BOOL, UINT, GDIPCONST ColorMap *); 922 GpStatus WINGDIPAPI 923 GdipSetImageAttributesThreshold(GpImageAttributes *, ColorAdjustType, BOOL, REAL); 924 GpStatus WINGDIPAPI 925 GdipSetImageAttributesToIdentity(GpImageAttributes *, ColorAdjustType); 926 GpStatus WINGDIPAPI 927 GdipSetImageAttributesWrapMode(GpImageAttributes *, WrapMode, ARGB, BOOL); 928 GpStatus WINGDIPAPI 929 GdipResetImageAttributes(GpImageAttributes *, ColorAdjustType); 930 931 /* LinearGradientBrush */ 932 GpStatus WINGDIPAPI 933 GdipCreateLineBrush(GDIPCONST GpPointF *, GDIPCONST GpPointF *, ARGB, ARGB, GpWrapMode, GpLineGradient **); 934 GpStatus WINGDIPAPI 935 GdipCreateLineBrushI(GDIPCONST GpPoint *, GDIPCONST GpPoint *, ARGB, ARGB, GpWrapMode, GpLineGradient **); 936 GpStatus WINGDIPAPI 937 GdipCreateLineBrushFromRect(GDIPCONST GpRectF *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **); 938 GpStatus WINGDIPAPI 939 GdipCreateLineBrushFromRectI(GDIPCONST GpRect *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **); 940 GpStatus WINGDIPAPI 941 GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **); 942 GpStatus WINGDIPAPI 943 GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **); 944 GpStatus WINGDIPAPI 945 GdipGetLineColors(GpLineGradient *, ARGB *); 946 GpStatus WINGDIPAPI 947 GdipGetLineGammaCorrection(GpLineGradient *, BOOL *); 948 GpStatus WINGDIPAPI 949 GdipGetLineRect(GpLineGradient *, GpRectF *); 950 GpStatus WINGDIPAPI 951 GdipGetLineRectI(GpLineGradient *, GpRect *); 952 GpStatus WINGDIPAPI 953 GdipGetLineWrapMode(GpLineGradient *, GpWrapMode *); 954 GpStatus WINGDIPAPI 955 GdipSetLineBlend(GpLineGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT); 956 GpStatus WINGDIPAPI 957 GdipGetLineBlend(GpLineGradient *, REAL *, REAL *, INT); 958 GpStatus WINGDIPAPI 959 GdipGetLineBlendCount(GpLineGradient *, INT *); 960 GpStatus WINGDIPAPI 961 GdipSetLinePresetBlend(GpLineGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT); 962 GpStatus WINGDIPAPI 963 GdipGetLinePresetBlend(GpLineGradient *, ARGB *, REAL *, INT); 964 GpStatus WINGDIPAPI 965 GdipGetLinePresetBlendCount(GpLineGradient *, INT *); 966 GpStatus WINGDIPAPI 967 GdipGetLineTransform(GpLineGradient *, GpMatrix *); 968 GpStatus WINGDIPAPI 969 GdipMultiplyLineTransform(GpLineGradient *, GDIPCONST GpMatrix *, GpMatrixOrder); 970 GpStatus WINGDIPAPI 971 GdipResetLineTransform(GpLineGradient *); 972 GpStatus WINGDIPAPI 973 GdipRotateLineTransform(GpLineGradient *, REAL, GpMatrixOrder); 974 GpStatus WINGDIPAPI 975 GdipScaleLineTransform(GpLineGradient *, REAL, REAL, GpMatrixOrder); 976 GpStatus WINGDIPAPI 977 GdipSetLineColors(GpLineGradient *, ARGB, ARGB); 978 GpStatus WINGDIPAPI 979 GdipSetLineGammaCorrection(GpLineGradient *, BOOL); 980 GpStatus WINGDIPAPI 981 GdipSetLineSigmaBlend(GpLineGradient *, REAL, REAL); 982 GpStatus WINGDIPAPI 983 GdipSetLineTransform(GpLineGradient *, GDIPCONST GpMatrix *); 984 GpStatus WINGDIPAPI 985 GdipSetLineLinearBlend(GpLineGradient *, REAL, REAL); 986 GpStatus WINGDIPAPI 987 GdipSetLineWrapMode(GpLineGradient *, GpWrapMode); 988 GpStatus WINGDIPAPI 989 GdipTranslateLineTransform(GpLineGradient *, REAL, REAL, GpMatrixOrder); 990 991 /* Matrix */ 992 GpStatus WINGDIPAPI 993 GdipCloneMatrix(GpMatrix *, GpMatrix **); 994 GpStatus WINGDIPAPI 995 GdipCreateMatrix(GpMatrix **); 996 GpStatus WINGDIPAPI 997 GdipCreateMatrix2(REAL, REAL, REAL, REAL, REAL, REAL, GpMatrix **); 998 GpStatus WINGDIPAPI 999 GdipCreateMatrix3(GDIPCONST GpRectF *, GDIPCONST GpPointF *, GpMatrix **); 1000 GpStatus WINGDIPAPI 1001 GdipCreateMatrix3I(GDIPCONST GpRect *, GDIPCONST GpPoint *, GpMatrix **); 1002 GpStatus WINGDIPAPI 1003 GdipDeleteMatrix(GpMatrix *); 1004 GpStatus WINGDIPAPI 1005 GdipGetMatrixElements(GDIPCONST GpMatrix *, REAL *); 1006 GpStatus WINGDIPAPI 1007 GdipInvertMatrix(GpMatrix *); 1008 GpStatus WINGDIPAPI 1009 GdipIsMatrixEqual(GDIPCONST GpMatrix *, GDIPCONST GpMatrix *, BOOL *); 1010 GpStatus WINGDIPAPI 1011 GdipIsMatrixIdentity(GDIPCONST GpMatrix *, BOOL *); 1012 GpStatus WINGDIPAPI 1013 GdipIsMatrixInvertible(GDIPCONST GpMatrix *, BOOL *); 1014 GpStatus WINGDIPAPI 1015 GdipMultiplyMatrix(GpMatrix *, GDIPCONST GpMatrix *, GpMatrixOrder); 1016 GpStatus WINGDIPAPI 1017 GdipRotateMatrix(GpMatrix *, REAL, GpMatrixOrder); 1018 GpStatus WINGDIPAPI 1019 GdipShearMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder); 1020 GpStatus WINGDIPAPI 1021 GdipScaleMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder); 1022 GpStatus WINGDIPAPI 1023 GdipSetMatrixElements(GpMatrix *, REAL, REAL, REAL, REAL, REAL, REAL); 1024 GpStatus WINGDIPAPI 1025 GdipTransformMatrixPoints(GpMatrix *, GpPointF *, INT); 1026 GpStatus WINGDIPAPI 1027 GdipTransformMatrixPointsI(GpMatrix *, GpPoint *, INT); 1028 GpStatus WINGDIPAPI 1029 GdipTranslateMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder); 1030 GpStatus WINGDIPAPI 1031 GdipVectorTransformMatrixPoints(GpMatrix *, GpPointF *, INT); 1032 GpStatus WINGDIPAPI 1033 GdipVectorTransformMatrixPointsI(GpMatrix *, GpPoint *, INT); 1034 1035 /* Metafile */ 1036 GpStatus WINGDIPAPI 1037 GdipConvertToEmfPlus(const GpGraphics *, GpMetafile *, INT *, EmfType, const WCHAR *, GpMetafile **); 1038 GpStatus WINGDIPAPI 1039 GdipConvertToEmfPlusToFile( 1040 const GpGraphics *, 1041 GpMetafile *, 1042 INT *, 1043 const WCHAR *, 1044 EmfType, 1045 const WCHAR *, 1046 GpMetafile **); 1047 GpStatus WINGDIPAPI 1048 GdipConvertToEmfPlusToStream( 1049 const GpGraphics *, 1050 GpMetafile *, 1051 INT *, 1052 IStream *, 1053 EmfType, 1054 const WCHAR *, 1055 GpMetafile **); 1056 GpStatus WINGDIPAPI 1057 GdipCreateMetafileFromEmf(HENHMETAFILE, BOOL, GpMetafile **); 1058 GpStatus WINGDIPAPI 1059 GdipCreateMetafileFromWmf(HMETAFILE, BOOL, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **); 1060 GpStatus WINGDIPAPI 1061 GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR *, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **); 1062 GpStatus WINGDIPAPI 1063 GdipCreateMetafileFromFile(GDIPCONST WCHAR *, GpMetafile **); 1064 GpStatus WINGDIPAPI 1065 GdipCreateMetafileFromStream(IStream *, GpMetafile **); 1066 GpStatus WINGDIPAPI 1067 GdipGetHemfFromMetafile(GpMetafile *, HENHMETAFILE *); 1068 GpStatus WINGDIPAPI 1069 GdipPlayMetafileRecord(GDIPCONST GpMetafile *, EmfPlusRecordType, UINT, UINT, GDIPCONST BYTE *); 1070 GpStatus WINGDIPAPI 1071 GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *, UINT); 1072 GpStatus WINGDIPAPI 1073 GdipRecordMetafile(HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **); 1074 1075 /* MetafileHeader */ 1076 GpStatus WINGDIPAPI 1077 GdipGetMetafileHeaderFromEmf(HENHMETAFILE, MetafileHeader *); 1078 GpStatus WINGDIPAPI 1079 GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR *, MetafileHeader *); 1080 GpStatus WINGDIPAPI 1081 GdipGetMetafileHeaderFromMetafile(GpMetafile *, MetafileHeader *); 1082 GpStatus WINGDIPAPI 1083 GdipGetMetafileHeaderFromStream(IStream *, MetafileHeader *); 1084 GpStatus WINGDIPAPI 1085 GdipGetMetafileHeaderFromWmf(HMETAFILE, GDIPCONST WmfPlaceableFileHeader *, MetafileHeader *); 1086 1087 /* Notification */ 1088 GpStatus WINAPI 1089 GdiplusNotificationHook(ULONG_PTR *); 1090 void WINAPI GdiplusNotificationUnhook(ULONG_PTR); 1091 1092 /* PathGradientBrush */ 1093 GpStatus WINGDIPAPI 1094 GdipCreatePathGradient(GDIPCONST GpPointF *, INT, GpWrapMode, GpPathGradient **); 1095 GpStatus WINGDIPAPI 1096 GdipCreatePathGradientI(GDIPCONST GpPoint *, INT, GpWrapMode, GpPathGradient **); 1097 GpStatus WINGDIPAPI 1098 GdipCreatePathGradientFromPath(GDIPCONST GpPath *, GpPathGradient **); 1099 GpStatus WINGDIPAPI 1100 GdipGetPathGradientBlend(GpPathGradient *, REAL *, REAL *, INT); 1101 GpStatus WINGDIPAPI 1102 GdipGetPathGradientBlendCount(GpPathGradient *, INT *); 1103 GpStatus WINGDIPAPI 1104 GdipGetPathGradientCenterColor(GpPathGradient *, ARGB *); 1105 GpStatus WINGDIPAPI 1106 GdipGetPathGradientCenterPoint(GpPathGradient *, GpPointF *); 1107 GpStatus WINGDIPAPI 1108 GdipGetPathGradientCenterPointI(GpPathGradient *, GpPoint *); 1109 GpStatus WINGDIPAPI 1110 GdipGetPathGradientFocusScales(GpPathGradient *, REAL *, REAL *); 1111 GpStatus WINGDIPAPI 1112 GdipGetPathGradientGammaCorrection(GpPathGradient *, BOOL *); 1113 GpStatus WINGDIPAPI 1114 GdipGetPathGradientPath(GpPathGradient *, GpPath *); 1115 GpStatus WINGDIPAPI 1116 GdipGetPathGradientPresetBlend(GpPathGradient *, ARGB *, REAL *, INT); 1117 GpStatus WINGDIPAPI 1118 GdipGetPathGradientPresetBlendCount(GpPathGradient *, INT *); 1119 GpStatus WINGDIPAPI 1120 GdipGetPathGradientPointCount(GpPathGradient *, INT *); 1121 GpStatus WINGDIPAPI 1122 GdipSetPathGradientPresetBlend(GpPathGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT); 1123 GpStatus WINGDIPAPI 1124 GdipGetPathGradientRect(GpPathGradient *, GpRectF *); 1125 GpStatus WINGDIPAPI 1126 GdipGetPathGradientRectI(GpPathGradient *, GpRect *); 1127 GpStatus WINGDIPAPI 1128 GdipGetPathGradientSurroundColorsWithCount(GpPathGradient *, ARGB *, INT *); 1129 GpStatus WINGDIPAPI 1130 GdipGetPathGradientWrapMode(GpPathGradient *, GpWrapMode *); 1131 GpStatus WINGDIPAPI 1132 GdipSetPathGradientBlend(GpPathGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT); 1133 GpStatus WINGDIPAPI 1134 GdipSetPathGradientCenterColor(GpPathGradient *, ARGB); 1135 GpStatus WINGDIPAPI 1136 GdipSetPathGradientCenterPoint(GpPathGradient *, GpPointF *); 1137 GpStatus WINGDIPAPI 1138 GdipSetPathGradientCenterPointI(GpPathGradient *, GpPoint *); 1139 GpStatus WINGDIPAPI 1140 GdipSetPathGradientFocusScales(GpPathGradient *, REAL, REAL); 1141 GpStatus WINGDIPAPI 1142 GdipSetPathGradientGammaCorrection(GpPathGradient *, BOOL); 1143 GpStatus WINGDIPAPI 1144 GdipSetPathGradientPath(GpPathGradient *, GDIPCONST GpPath *); 1145 GpStatus WINGDIPAPI 1146 GdipSetPathGradientSigmaBlend(GpPathGradient *, REAL, REAL); 1147 GpStatus WINGDIPAPI 1148 GdipSetPathGradientSurroundColorsWithCount(GpPathGradient *, GDIPCONST ARGB *, INT *); 1149 GpStatus WINGDIPAPI 1150 GdipSetPathGradientWrapMode(GpPathGradient *, GpWrapMode); 1151 GpStatus WINGDIPAPI 1152 GdipGetPathGradientSurroundColorCount(GpPathGradient *, INT *); 1153 1154 /* PathIterator */ 1155 GpStatus WINGDIPAPI 1156 GdipCreatePathIter(GpPathIterator **, GpPath *); 1157 GpStatus WINGDIPAPI 1158 GdipDeletePathIter(GpPathIterator *); 1159 GpStatus WINGDIPAPI 1160 GdipPathIterCopyData(GpPathIterator *, INT *, GpPointF *, BYTE *, INT, INT); 1161 GpStatus WINGDIPAPI 1162 GdipPathIterGetCount(GpPathIterator *, INT *); 1163 GpStatus WINGDIPAPI 1164 GdipPathIterGetSubpathCount(GpPathIterator *, INT *); 1165 GpStatus WINGDIPAPI 1166 GdipPathIterEnumerate(GpPathIterator *, INT *, GpPointF *, BYTE *, INT); 1167 GpStatus WINGDIPAPI 1168 GdipPathIterHasCurve(GpPathIterator *, BOOL *); 1169 GpStatus WINGDIPAPI 1170 GdipPathIterIsValid(GpPathIterator *, BOOL *); 1171 GpStatus WINGDIPAPI 1172 GdipPathIterNextMarker(GpPathIterator *, INT *, INT *, INT *); 1173 GpStatus WINGDIPAPI 1174 GdipPathIterNextMarkerPath(GpPathIterator *, INT *, GpPath *); 1175 GpStatus WINGDIPAPI 1176 GdipPathIterNextPathType(GpPathIterator *, INT *, BYTE *, INT *, INT *); 1177 GpStatus WINGDIPAPI 1178 GdipPathIterNextSubpath(GpPathIterator *, INT *, INT *, INT *, BOOL *); 1179 GpStatus WINGDIPAPI 1180 GdipPathIterNextSubpathPath(GpPathIterator *, INT *, GpPath *, BOOL *); 1181 GpStatus WINGDIPAPI 1182 GdipPathIterRewind(GpPathIterator *); 1183 1184 /* Pen */ 1185 GpStatus WINGDIPAPI 1186 GdipClonePen(GpPen *, GpPen **); 1187 GpStatus WINGDIPAPI 1188 GdipCreatePen1(ARGB, REAL, GpUnit, GpPen **); 1189 GpStatus WINGDIPAPI 1190 GdipCreatePen2(GpBrush *, REAL, GpUnit, GpPen **); 1191 GpStatus WINGDIPAPI 1192 GdipDeletePen(GpPen *); 1193 GpStatus WINGDIPAPI 1194 GdipGetPenBrushFill(GpPen *, GpBrush **); 1195 GpStatus WINGDIPAPI 1196 GdipGetPenColor(GpPen *, ARGB *); 1197 GpStatus WINGDIPAPI 1198 GdipGetPenCompoundCount(GpPen *, INT *); 1199 GpStatus WINGDIPAPI 1200 GdipGetPenCustomStartCap(GpPen *, GpCustomLineCap **); 1201 GpStatus WINGDIPAPI 1202 GdipGetPenCustomEndCap(GpPen *, GpCustomLineCap **); 1203 GpStatus WINGDIPAPI 1204 GdipGetPenDashArray(GpPen *, REAL *, INT); 1205 GpStatus WINGDIPAPI 1206 GdipGetPenDashCount(GpPen *, INT *); 1207 GpStatus WINGDIPAPI 1208 GdipGetPenDashOffset(GpPen *, REAL *); 1209 GpStatus WINGDIPAPI 1210 GdipGetPenDashStyle(GpPen *, GpDashStyle *); 1211 GpStatus WINGDIPAPI 1212 GdipGetPenMode(GpPen *, GpPenAlignment *); 1213 GpStatus WINGDIPAPI 1214 GdipGetPenTransform(GpPen *, GpMatrix *); 1215 GpStatus WINGDIPAPI 1216 GdipMultiplyPenTransform(GpPen *, GDIPCONST GpMatrix *, GpMatrixOrder); 1217 GpStatus WINGDIPAPI 1218 GdipResetPenTransform(GpPen *); 1219 GpStatus WINGDIPAPI 1220 GdipRotatePenTransform(GpPen *, REAL, GpMatrixOrder); 1221 GpStatus WINGDIPAPI 1222 GdipScalePenTransform(GpPen *, REAL, REAL, GpMatrixOrder); 1223 GpStatus WINGDIPAPI 1224 GdipSetPenBrushFill(GpPen *, GpBrush *); 1225 GpStatus WINGDIPAPI 1226 GdipSetPenColor(GpPen *, ARGB); 1227 GpStatus WINGDIPAPI 1228 GdipSetPenCompoundArray(GpPen *, GDIPCONST REAL *, INT); 1229 GpStatus WINGDIPAPI 1230 GdipSetPenCustomEndCap(GpPen *, GpCustomLineCap *); 1231 GpStatus WINGDIPAPI 1232 GdipSetPenCustomStartCap(GpPen *, GpCustomLineCap *); 1233 GpStatus WINGDIPAPI 1234 GdipSetPenDashArray(GpPen *, GDIPCONST REAL *, INT); 1235 GpStatus WINGDIPAPI 1236 GdipSetPenDashCap197819(GpPen *, GpDashCap); 1237 GpStatus WINGDIPAPI 1238 GdipSetPenDashOffset(GpPen *, REAL); 1239 GpStatus WINGDIPAPI 1240 GdipSetPenDashStyle(GpPen *, GpDashStyle); 1241 GpStatus WINGDIPAPI 1242 GdipSetPenEndCap(GpPen *, GpLineCap); 1243 GpStatus WINGDIPAPI 1244 GdipGetPenFillType(GpPen *, GpPenType *); 1245 GpStatus WINGDIPAPI 1246 GdipSetPenLineCap197819(GpPen *, GpLineCap, GpLineCap, GpDashCap); 1247 GpStatus WINGDIPAPI 1248 GdipSetPenLineJoin(GpPen *, GpLineJoin); 1249 GpStatus WINGDIPAPI 1250 GdipSetPenMode(GpPen *, GpPenAlignment); 1251 GpStatus WINGDIPAPI 1252 GdipSetPenMiterLimit(GpPen *, REAL); 1253 GpStatus WINGDIPAPI 1254 GdipSetPenStartCap(GpPen *, GpLineCap); 1255 GpStatus WINGDIPAPI 1256 GdipSetPenTransform(GpPen *, GpMatrix *); 1257 GpStatus WINGDIPAPI 1258 GdipSetPenWidth(GpPen *, REAL); 1259 GpStatus WINGDIPAPI 1260 GdipGetPenDashCap197819(GpPen *, GpDashCap *); 1261 GpStatus WINGDIPAPI 1262 GdipGetPenEndCap(GpPen *, GpLineCap *); 1263 GpStatus WINGDIPAPI 1264 GdipGetPenLineJoin(GpPen *, GpLineJoin *); 1265 GpStatus WINGDIPAPI 1266 GdipGetPenMiterLimit(GpPen *, REAL *); 1267 GpStatus WINGDIPAPI 1268 GdipGetPenStartCap(GpPen *, GpLineCap *); 1269 GpStatus WINGDIPAPI 1270 GdipGetPenUnit(GpPen *, GpUnit *); 1271 GpStatus WINGDIPAPI 1272 GdipGetPenWidth(GpPen *, REAL *); 1273 GpStatus WINGDIPAPI 1274 GdipTranslatePenTransform(GpPen *, REAL, REAL, GpMatrixOrder); 1275 1276 /* Region */ 1277 GpStatus WINGDIPAPI 1278 GdipCloneRegion(GpRegion *, GpRegion **); 1279 GpStatus WINGDIPAPI 1280 GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode); 1281 GpStatus WINGDIPAPI 1282 GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode); 1283 GpStatus WINGDIPAPI 1284 GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode); 1285 GpStatus WINGDIPAPI 1286 GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode); 1287 GpStatus WINGDIPAPI 1288 GdipCreateRegion(GpRegion **); 1289 GpStatus WINGDIPAPI 1290 GdipCreateRegionPath(GpPath *, GpRegion **); 1291 GpStatus WINGDIPAPI 1292 GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **); 1293 GpStatus WINGDIPAPI 1294 GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **); 1295 GpStatus WINGDIPAPI 1296 GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **); 1297 GpStatus WINGDIPAPI 1298 GdipCreateRegionHrgn(HRGN, GpRegion **); 1299 GpStatus WINGDIPAPI 1300 GdipDeleteRegion(GpRegion *); 1301 GpStatus WINGDIPAPI 1302 GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *); 1303 GpStatus WINGDIPAPI 1304 GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *); 1305 GpStatus WINGDIPAPI 1306 GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *); 1307 GpStatus WINGDIPAPI 1308 GdipGetRegionDataSize(GpRegion *, UINT *); 1309 GpStatus WINGDIPAPI 1310 GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *); 1311 GpStatus WINGDIPAPI 1312 GdipGetRegionScans(GpRegion *, GpRectF *, INT *, GpMatrix *); 1313 GpStatus WINGDIPAPI 1314 GdipGetRegionScansI(GpRegion *, GpRect *, INT *, GpMatrix *); 1315 GpStatus WINGDIPAPI 1316 GdipGetRegionScansCount(GpRegion *, UINT *, GpMatrix *); 1317 GpStatus WINGDIPAPI 1318 GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *); 1319 GpStatus WINGDIPAPI 1320 GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *); 1321 GpStatus WINGDIPAPI 1322 GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *); 1323 GpStatus WINGDIPAPI 1324 GdipIsVisibleRegionPoint(GpRegion *, REAL, REAL, GpGraphics *, BOOL *); 1325 GpStatus WINGDIPAPI 1326 GdipIsVisibleRegionPointI(GpRegion *, INT, INT, GpGraphics *, BOOL *); 1327 GpStatus WINGDIPAPI 1328 GdipIsVisibleRegionRect(GpRegion *, REAL, REAL, REAL, REAL, GpGraphics *, BOOL *); 1329 GpStatus WINGDIPAPI 1330 GdipIsVisibleRegionRectI(GpRegion *, INT, INT, INT, INT, GpGraphics *, BOOL *); 1331 GpStatus WINGDIPAPI 1332 GdipSetEmpty(GpRegion *); 1333 GpStatus WINGDIPAPI 1334 GdipSetInfinite(GpRegion *); 1335 GpStatus WINGDIPAPI 1336 GdipTransformRegion(GpRegion *, GpMatrix *); 1337 GpStatus WINGDIPAPI 1338 GdipTranslateRegion(GpRegion *, REAL, REAL); 1339 GpStatus WINGDIPAPI 1340 GdipTranslateRegionI(GpRegion *, INT, INT); 1341 1342 /* SolidBrush */ 1343 GpStatus WINGDIPAPI 1344 GdipCreateSolidFill(ARGB, GpSolidFill **); 1345 GpStatus WINGDIPAPI 1346 GdipGetSolidFillColor(GpSolidFill *, ARGB *); 1347 GpStatus WINGDIPAPI 1348 GdipSetSolidFillColor(GpSolidFill *, ARGB); 1349 1350 /* StringFormat */ 1351 GpStatus WINGDIPAPI 1352 GdipCloneStringFormat(GDIPCONST GpStringFormat *, GpStringFormat **); 1353 GpStatus WINGDIPAPI 1354 GdipCreateStringFormat(INT, LANGID, GpStringFormat **); 1355 GpStatus WINGDIPAPI 1356 GdipDeleteStringFormat(GpStringFormat *); 1357 GpStatus WINGDIPAPI 1358 GdipGetStringFormatAlign(GpStringFormat *, StringAlignment *); 1359 GpStatus WINGDIPAPI 1360 GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat *, LANGID *, StringDigitSubstitute *); 1361 GpStatus WINGDIPAPI 1362 GdipGetStringFormatFlags(GDIPCONST GpStringFormat *, INT *); 1363 GpStatus WINGDIPAPI 1364 GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat *, INT *); 1365 GpStatus WINGDIPAPI 1366 GdipGetStringFormatLineAlign(GpStringFormat *, StringAlignment *); 1367 GpStatus WINGDIPAPI 1368 GdipGetStringFormatMeasurableCharacterRangeCount(GDIPCONST GpStringFormat *, INT *); 1369 GpStatus WINGDIPAPI 1370 GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat *, INT *); 1371 GpStatus WINGDIPAPI 1372 GdipGetStringFormatTabStops(GDIPCONST GpStringFormat *, INT, REAL *, REAL *); 1373 GpStatus WINGDIPAPI 1374 GdipGetStringFormatTrimming(GpStringFormat *, StringTrimming *); 1375 GpStatus WINGDIPAPI 1376 GdipSetStringFormatAlign(GpStringFormat *, StringAlignment); 1377 GpStatus WINGDIPAPI 1378 GdipSetStringFormatDigitSubstitution(GpStringFormat *, LANGID, StringDigitSubstitute); 1379 GpStatus WINGDIPAPI 1380 GdipSetStringFormatHotkeyPrefix(GpStringFormat *, INT); 1381 GpStatus WINGDIPAPI 1382 GdipSetStringFormatLineAlign(GpStringFormat *, StringAlignment); 1383 GpStatus WINGDIPAPI 1384 GdipSetStringFormatMeasurableCharacterRanges(GpStringFormat *, INT, GDIPCONST CharacterRange *); 1385 GpStatus WINGDIPAPI 1386 GdipSetStringFormatTabStops(GpStringFormat *, REAL, INT, GDIPCONST REAL *); 1387 GpStatus WINGDIPAPI 1388 GdipSetStringFormatTrimming(GpStringFormat *, StringTrimming); 1389 GpStatus WINGDIPAPI 1390 GdipSetStringFormatFlags(GpStringFormat *, INT); 1391 GpStatus WINGDIPAPI 1392 GdipStringFormatGetGenericDefault(GpStringFormat **); 1393 GpStatus WINGDIPAPI 1394 GdipStringFormatGetGenericTypographic(GpStringFormat **); 1395 1396 /* Texture */ 1397 GpStatus WINGDIPAPI 1398 GdipCreateTexture(GpImage *, GpWrapMode, GpTexture **); 1399 GpStatus WINGDIPAPI 1400 GdipCreateTexture2(GpImage *, GpWrapMode, REAL, REAL, REAL, REAL, GpTexture **); 1401 GpStatus WINGDIPAPI 1402 GdipCreateTexture2I(GpImage *, GpWrapMode, INT, INT, INT, INT, GpTexture **); 1403 GpStatus WINGDIPAPI 1404 GdipCreateTextureIA(GpImage *, GDIPCONST GpImageAttributes *, REAL, REAL, REAL, REAL, GpTexture **); 1405 GpStatus WINGDIPAPI 1406 GdipCreateTextureIAI(GpImage *, GDIPCONST GpImageAttributes *, INT, INT, INT, INT, GpTexture **); 1407 GpStatus WINGDIPAPI 1408 GdipGetTextureTransform(GpTexture *, GpMatrix *); 1409 GpStatus WINGDIPAPI 1410 GdipGetTextureWrapMode(GpTexture *, GpWrapMode *); 1411 GpStatus WINGDIPAPI 1412 GdipMultiplyTextureTransform(GpTexture *, GDIPCONST GpMatrix *, GpMatrixOrder); 1413 GpStatus WINGDIPAPI 1414 GdipResetTextureTransform(GpTexture *); 1415 GpStatus WINGDIPAPI 1416 GdipRotateTextureTransform(GpTexture *, REAL, GpMatrixOrder); 1417 GpStatus WINGDIPAPI 1418 GdipScaleTextureTransform(GpTexture *, REAL, REAL, GpMatrixOrder); 1419 GpStatus WINGDIPAPI 1420 GdipSetTextureTransform(GpTexture *, GDIPCONST GpMatrix *); 1421 GpStatus WINGDIPAPI 1422 GdipSetTextureWrapMode(GpTexture *, GpWrapMode); 1423 GpStatus WINGDIPAPI 1424 GdipTranslateTextureTransform(GpTexture *, REAL, REAL, GpMatrixOrder); 1425 1426 /* Without wrapper methods */ 1427 GpStatus WINGDIPAPI 1428 GdipCreateStreamOnFile(GDIPCONST WCHAR *, UINT, IStream **); 1429 GpStatus WINGDIPAPI 1430 GdipGetImageEncodersSize(UINT *numEncoders, UINT *size); 1431 GpStatus WINGDIPAPI 1432 GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders); 1433 GpStatus WINGDIPAPI 1434 GdipTestControl(GpTestControlEnum, void *); 1435 1436 #ifdef __cplusplus 1437 } 1438 #endif 1439 1440 #endif 1441