1 /* automatically generated by rust-bindgen */ 2 3 use crate::*; 4 5 pub type __uint8_t = libc::c_uchar; 6 pub type __int16_t = libc::c_short; 7 pub type __uint32_t = libc::c_uint; 8 pub type Uint8 = u8; 9 pub type Sint16 = i16; 10 pub type Uint32 = u32; 11 extern "C" { pixelColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, color: Uint32, ) -> libc::c_int12 pub fn pixelColor( 13 renderer: *mut SDL_Renderer, 14 x: Sint16, 15 y: Sint16, 16 color: Uint32, 17 ) -> libc::c_int; 18 } 19 extern "C" { pixelRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int20 pub fn pixelRGBA( 21 renderer: *mut SDL_Renderer, 22 x: Sint16, 23 y: Sint16, 24 r: Uint8, 25 g: Uint8, 26 b: Uint8, 27 a: Uint8, 28 ) -> libc::c_int; 29 } 30 extern "C" { hlineColor( renderer: *mut SDL_Renderer, x1: Sint16, x2: Sint16, y: Sint16, color: Uint32, ) -> libc::c_int31 pub fn hlineColor( 32 renderer: *mut SDL_Renderer, 33 x1: Sint16, 34 x2: Sint16, 35 y: Sint16, 36 color: Uint32, 37 ) -> libc::c_int; 38 } 39 extern "C" { hlineRGBA( renderer: *mut SDL_Renderer, x1: Sint16, x2: Sint16, y: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int40 pub fn hlineRGBA( 41 renderer: *mut SDL_Renderer, 42 x1: Sint16, 43 x2: Sint16, 44 y: Sint16, 45 r: Uint8, 46 g: Uint8, 47 b: Uint8, 48 a: Uint8, 49 ) -> libc::c_int; 50 } 51 extern "C" { vlineColor( renderer: *mut SDL_Renderer, x: Sint16, y1: Sint16, y2: Sint16, color: Uint32, ) -> libc::c_int52 pub fn vlineColor( 53 renderer: *mut SDL_Renderer, 54 x: Sint16, 55 y1: Sint16, 56 y2: Sint16, 57 color: Uint32, 58 ) -> libc::c_int; 59 } 60 extern "C" { vlineRGBA( renderer: *mut SDL_Renderer, x: Sint16, y1: Sint16, y2: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int61 pub fn vlineRGBA( 62 renderer: *mut SDL_Renderer, 63 x: Sint16, 64 y1: Sint16, 65 y2: Sint16, 66 r: Uint8, 67 g: Uint8, 68 b: Uint8, 69 a: Uint8, 70 ) -> libc::c_int; 71 } 72 extern "C" { rectangleColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, color: Uint32, ) -> libc::c_int73 pub fn rectangleColor( 74 renderer: *mut SDL_Renderer, 75 x1: Sint16, 76 y1: Sint16, 77 x2: Sint16, 78 y2: Sint16, 79 color: Uint32, 80 ) -> libc::c_int; 81 } 82 extern "C" { rectangleRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int83 pub fn rectangleRGBA( 84 renderer: *mut SDL_Renderer, 85 x1: Sint16, 86 y1: Sint16, 87 x2: Sint16, 88 y2: Sint16, 89 r: Uint8, 90 g: Uint8, 91 b: Uint8, 92 a: Uint8, 93 ) -> libc::c_int; 94 } 95 extern "C" { roundedRectangleColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, rad: Sint16, color: Uint32, ) -> libc::c_int96 pub fn roundedRectangleColor( 97 renderer: *mut SDL_Renderer, 98 x1: Sint16, 99 y1: Sint16, 100 x2: Sint16, 101 y2: Sint16, 102 rad: Sint16, 103 color: Uint32, 104 ) -> libc::c_int; 105 } 106 extern "C" { roundedRectangleRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, rad: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int107 pub fn roundedRectangleRGBA( 108 renderer: *mut SDL_Renderer, 109 x1: Sint16, 110 y1: Sint16, 111 x2: Sint16, 112 y2: Sint16, 113 rad: Sint16, 114 r: Uint8, 115 g: Uint8, 116 b: Uint8, 117 a: Uint8, 118 ) -> libc::c_int; 119 } 120 extern "C" { boxColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, color: Uint32, ) -> libc::c_int121 pub fn boxColor( 122 renderer: *mut SDL_Renderer, 123 x1: Sint16, 124 y1: Sint16, 125 x2: Sint16, 126 y2: Sint16, 127 color: Uint32, 128 ) -> libc::c_int; 129 } 130 extern "C" { boxRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int131 pub fn boxRGBA( 132 renderer: *mut SDL_Renderer, 133 x1: Sint16, 134 y1: Sint16, 135 x2: Sint16, 136 y2: Sint16, 137 r: Uint8, 138 g: Uint8, 139 b: Uint8, 140 a: Uint8, 141 ) -> libc::c_int; 142 } 143 extern "C" { roundedBoxColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, rad: Sint16, color: Uint32, ) -> libc::c_int144 pub fn roundedBoxColor( 145 renderer: *mut SDL_Renderer, 146 x1: Sint16, 147 y1: Sint16, 148 x2: Sint16, 149 y2: Sint16, 150 rad: Sint16, 151 color: Uint32, 152 ) -> libc::c_int; 153 } 154 extern "C" { roundedBoxRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, rad: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int155 pub fn roundedBoxRGBA( 156 renderer: *mut SDL_Renderer, 157 x1: Sint16, 158 y1: Sint16, 159 x2: Sint16, 160 y2: Sint16, 161 rad: Sint16, 162 r: Uint8, 163 g: Uint8, 164 b: Uint8, 165 a: Uint8, 166 ) -> libc::c_int; 167 } 168 extern "C" { lineColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, color: Uint32, ) -> libc::c_int169 pub fn lineColor( 170 renderer: *mut SDL_Renderer, 171 x1: Sint16, 172 y1: Sint16, 173 x2: Sint16, 174 y2: Sint16, 175 color: Uint32, 176 ) -> libc::c_int; 177 } 178 extern "C" { lineRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int179 pub fn lineRGBA( 180 renderer: *mut SDL_Renderer, 181 x1: Sint16, 182 y1: Sint16, 183 x2: Sint16, 184 y2: Sint16, 185 r: Uint8, 186 g: Uint8, 187 b: Uint8, 188 a: Uint8, 189 ) -> libc::c_int; 190 } 191 extern "C" { aalineColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, color: Uint32, ) -> libc::c_int192 pub fn aalineColor( 193 renderer: *mut SDL_Renderer, 194 x1: Sint16, 195 y1: Sint16, 196 x2: Sint16, 197 y2: Sint16, 198 color: Uint32, 199 ) -> libc::c_int; 200 } 201 extern "C" { aalineRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int202 pub fn aalineRGBA( 203 renderer: *mut SDL_Renderer, 204 x1: Sint16, 205 y1: Sint16, 206 x2: Sint16, 207 y2: Sint16, 208 r: Uint8, 209 g: Uint8, 210 b: Uint8, 211 a: Uint8, 212 ) -> libc::c_int; 213 } 214 extern "C" { thickLineColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, width: Uint8, color: Uint32, ) -> libc::c_int215 pub fn thickLineColor( 216 renderer: *mut SDL_Renderer, 217 x1: Sint16, 218 y1: Sint16, 219 x2: Sint16, 220 y2: Sint16, 221 width: Uint8, 222 color: Uint32, 223 ) -> libc::c_int; 224 } 225 extern "C" { thickLineRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, width: Uint8, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int226 pub fn thickLineRGBA( 227 renderer: *mut SDL_Renderer, 228 x1: Sint16, 229 y1: Sint16, 230 x2: Sint16, 231 y2: Sint16, 232 width: Uint8, 233 r: Uint8, 234 g: Uint8, 235 b: Uint8, 236 a: Uint8, 237 ) -> libc::c_int; 238 } 239 extern "C" { circleColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, color: Uint32, ) -> libc::c_int240 pub fn circleColor( 241 renderer: *mut SDL_Renderer, 242 x: Sint16, 243 y: Sint16, 244 rad: Sint16, 245 color: Uint32, 246 ) -> libc::c_int; 247 } 248 extern "C" { circleRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int249 pub fn circleRGBA( 250 renderer: *mut SDL_Renderer, 251 x: Sint16, 252 y: Sint16, 253 rad: Sint16, 254 r: Uint8, 255 g: Uint8, 256 b: Uint8, 257 a: Uint8, 258 ) -> libc::c_int; 259 } 260 extern "C" { arcColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, color: Uint32, ) -> libc::c_int261 pub fn arcColor( 262 renderer: *mut SDL_Renderer, 263 x: Sint16, 264 y: Sint16, 265 rad: Sint16, 266 start: Sint16, 267 end: Sint16, 268 color: Uint32, 269 ) -> libc::c_int; 270 } 271 extern "C" { arcRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int272 pub fn arcRGBA( 273 renderer: *mut SDL_Renderer, 274 x: Sint16, 275 y: Sint16, 276 rad: Sint16, 277 start: Sint16, 278 end: Sint16, 279 r: Uint8, 280 g: Uint8, 281 b: Uint8, 282 a: Uint8, 283 ) -> libc::c_int; 284 } 285 extern "C" { aacircleColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, color: Uint32, ) -> libc::c_int286 pub fn aacircleColor( 287 renderer: *mut SDL_Renderer, 288 x: Sint16, 289 y: Sint16, 290 rad: Sint16, 291 color: Uint32, 292 ) -> libc::c_int; 293 } 294 extern "C" { aacircleRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int295 pub fn aacircleRGBA( 296 renderer: *mut SDL_Renderer, 297 x: Sint16, 298 y: Sint16, 299 rad: Sint16, 300 r: Uint8, 301 g: Uint8, 302 b: Uint8, 303 a: Uint8, 304 ) -> libc::c_int; 305 } 306 extern "C" { filledCircleColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, r: Sint16, color: Uint32, ) -> libc::c_int307 pub fn filledCircleColor( 308 renderer: *mut SDL_Renderer, 309 x: Sint16, 310 y: Sint16, 311 r: Sint16, 312 color: Uint32, 313 ) -> libc::c_int; 314 } 315 extern "C" { filledCircleRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int316 pub fn filledCircleRGBA( 317 renderer: *mut SDL_Renderer, 318 x: Sint16, 319 y: Sint16, 320 rad: Sint16, 321 r: Uint8, 322 g: Uint8, 323 b: Uint8, 324 a: Uint8, 325 ) -> libc::c_int; 326 } 327 extern "C" { ellipseColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, color: Uint32, ) -> libc::c_int328 pub fn ellipseColor( 329 renderer: *mut SDL_Renderer, 330 x: Sint16, 331 y: Sint16, 332 rx: Sint16, 333 ry: Sint16, 334 color: Uint32, 335 ) -> libc::c_int; 336 } 337 extern "C" { ellipseRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int338 pub fn ellipseRGBA( 339 renderer: *mut SDL_Renderer, 340 x: Sint16, 341 y: Sint16, 342 rx: Sint16, 343 ry: Sint16, 344 r: Uint8, 345 g: Uint8, 346 b: Uint8, 347 a: Uint8, 348 ) -> libc::c_int; 349 } 350 extern "C" { aaellipseColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, color: Uint32, ) -> libc::c_int351 pub fn aaellipseColor( 352 renderer: *mut SDL_Renderer, 353 x: Sint16, 354 y: Sint16, 355 rx: Sint16, 356 ry: Sint16, 357 color: Uint32, 358 ) -> libc::c_int; 359 } 360 extern "C" { aaellipseRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int361 pub fn aaellipseRGBA( 362 renderer: *mut SDL_Renderer, 363 x: Sint16, 364 y: Sint16, 365 rx: Sint16, 366 ry: Sint16, 367 r: Uint8, 368 g: Uint8, 369 b: Uint8, 370 a: Uint8, 371 ) -> libc::c_int; 372 } 373 extern "C" { filledEllipseColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, color: Uint32, ) -> libc::c_int374 pub fn filledEllipseColor( 375 renderer: *mut SDL_Renderer, 376 x: Sint16, 377 y: Sint16, 378 rx: Sint16, 379 ry: Sint16, 380 color: Uint32, 381 ) -> libc::c_int; 382 } 383 extern "C" { filledEllipseRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rx: Sint16, ry: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int384 pub fn filledEllipseRGBA( 385 renderer: *mut SDL_Renderer, 386 x: Sint16, 387 y: Sint16, 388 rx: Sint16, 389 ry: Sint16, 390 r: Uint8, 391 g: Uint8, 392 b: Uint8, 393 a: Uint8, 394 ) -> libc::c_int; 395 } 396 extern "C" { pieColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, color: Uint32, ) -> libc::c_int397 pub fn pieColor( 398 renderer: *mut SDL_Renderer, 399 x: Sint16, 400 y: Sint16, 401 rad: Sint16, 402 start: Sint16, 403 end: Sint16, 404 color: Uint32, 405 ) -> libc::c_int; 406 } 407 extern "C" { pieRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int408 pub fn pieRGBA( 409 renderer: *mut SDL_Renderer, 410 x: Sint16, 411 y: Sint16, 412 rad: Sint16, 413 start: Sint16, 414 end: Sint16, 415 r: Uint8, 416 g: Uint8, 417 b: Uint8, 418 a: Uint8, 419 ) -> libc::c_int; 420 } 421 extern "C" { filledPieColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, color: Uint32, ) -> libc::c_int422 pub fn filledPieColor( 423 renderer: *mut SDL_Renderer, 424 x: Sint16, 425 y: Sint16, 426 rad: Sint16, 427 start: Sint16, 428 end: Sint16, 429 color: Uint32, 430 ) -> libc::c_int; 431 } 432 extern "C" { filledPieRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, rad: Sint16, start: Sint16, end: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int433 pub fn filledPieRGBA( 434 renderer: *mut SDL_Renderer, 435 x: Sint16, 436 y: Sint16, 437 rad: Sint16, 438 start: Sint16, 439 end: Sint16, 440 r: Uint8, 441 g: Uint8, 442 b: Uint8, 443 a: Uint8, 444 ) -> libc::c_int; 445 } 446 extern "C" { trigonColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, color: Uint32, ) -> libc::c_int447 pub fn trigonColor( 448 renderer: *mut SDL_Renderer, 449 x1: Sint16, 450 y1: Sint16, 451 x2: Sint16, 452 y2: Sint16, 453 x3: Sint16, 454 y3: Sint16, 455 color: Uint32, 456 ) -> libc::c_int; 457 } 458 extern "C" { trigonRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int459 pub fn trigonRGBA( 460 renderer: *mut SDL_Renderer, 461 x1: Sint16, 462 y1: Sint16, 463 x2: Sint16, 464 y2: Sint16, 465 x3: Sint16, 466 y3: Sint16, 467 r: Uint8, 468 g: Uint8, 469 b: Uint8, 470 a: Uint8, 471 ) -> libc::c_int; 472 } 473 extern "C" { aatrigonColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, color: Uint32, ) -> libc::c_int474 pub fn aatrigonColor( 475 renderer: *mut SDL_Renderer, 476 x1: Sint16, 477 y1: Sint16, 478 x2: Sint16, 479 y2: Sint16, 480 x3: Sint16, 481 y3: Sint16, 482 color: Uint32, 483 ) -> libc::c_int; 484 } 485 extern "C" { aatrigonRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int486 pub fn aatrigonRGBA( 487 renderer: *mut SDL_Renderer, 488 x1: Sint16, 489 y1: Sint16, 490 x2: Sint16, 491 y2: Sint16, 492 x3: Sint16, 493 y3: Sint16, 494 r: Uint8, 495 g: Uint8, 496 b: Uint8, 497 a: Uint8, 498 ) -> libc::c_int; 499 } 500 extern "C" { filledTrigonColor( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, color: Uint32, ) -> libc::c_int501 pub fn filledTrigonColor( 502 renderer: *mut SDL_Renderer, 503 x1: Sint16, 504 y1: Sint16, 505 x2: Sint16, 506 y2: Sint16, 507 x3: Sint16, 508 y3: Sint16, 509 color: Uint32, 510 ) -> libc::c_int; 511 } 512 extern "C" { filledTrigonRGBA( renderer: *mut SDL_Renderer, x1: Sint16, y1: Sint16, x2: Sint16, y2: Sint16, x3: Sint16, y3: Sint16, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int513 pub fn filledTrigonRGBA( 514 renderer: *mut SDL_Renderer, 515 x1: Sint16, 516 y1: Sint16, 517 x2: Sint16, 518 y2: Sint16, 519 x3: Sint16, 520 y3: Sint16, 521 r: Uint8, 522 g: Uint8, 523 b: Uint8, 524 a: Uint8, 525 ) -> libc::c_int; 526 } 527 extern "C" { polygonColor( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, color: Uint32, ) -> libc::c_int528 pub fn polygonColor( 529 renderer: *mut SDL_Renderer, 530 vx: *const Sint16, 531 vy: *const Sint16, 532 n: libc::c_int, 533 color: Uint32, 534 ) -> libc::c_int; 535 } 536 extern "C" { polygonRGBA( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int537 pub fn polygonRGBA( 538 renderer: *mut SDL_Renderer, 539 vx: *const Sint16, 540 vy: *const Sint16, 541 n: libc::c_int, 542 r: Uint8, 543 g: Uint8, 544 b: Uint8, 545 a: Uint8, 546 ) -> libc::c_int; 547 } 548 extern "C" { aapolygonColor( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, color: Uint32, ) -> libc::c_int549 pub fn aapolygonColor( 550 renderer: *mut SDL_Renderer, 551 vx: *const Sint16, 552 vy: *const Sint16, 553 n: libc::c_int, 554 color: Uint32, 555 ) -> libc::c_int; 556 } 557 extern "C" { aapolygonRGBA( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int558 pub fn aapolygonRGBA( 559 renderer: *mut SDL_Renderer, 560 vx: *const Sint16, 561 vy: *const Sint16, 562 n: libc::c_int, 563 r: Uint8, 564 g: Uint8, 565 b: Uint8, 566 a: Uint8, 567 ) -> libc::c_int; 568 } 569 extern "C" { filledPolygonColor( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, color: Uint32, ) -> libc::c_int570 pub fn filledPolygonColor( 571 renderer: *mut SDL_Renderer, 572 vx: *const Sint16, 573 vy: *const Sint16, 574 n: libc::c_int, 575 color: Uint32, 576 ) -> libc::c_int; 577 } 578 extern "C" { filledPolygonRGBA( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int579 pub fn filledPolygonRGBA( 580 renderer: *mut SDL_Renderer, 581 vx: *const Sint16, 582 vy: *const Sint16, 583 n: libc::c_int, 584 r: Uint8, 585 g: Uint8, 586 b: Uint8, 587 a: Uint8, 588 ) -> libc::c_int; 589 } 590 extern "C" { texturedPolygon( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, texture: *mut SDL_Surface, texture_dx: libc::c_int, texture_dy: libc::c_int, ) -> libc::c_int591 pub fn texturedPolygon( 592 renderer: *mut SDL_Renderer, 593 vx: *const Sint16, 594 vy: *const Sint16, 595 n: libc::c_int, 596 texture: *mut SDL_Surface, 597 texture_dx: libc::c_int, 598 texture_dy: libc::c_int, 599 ) -> libc::c_int; 600 } 601 extern "C" { bezierColor( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, s: libc::c_int, color: Uint32, ) -> libc::c_int602 pub fn bezierColor( 603 renderer: *mut SDL_Renderer, 604 vx: *const Sint16, 605 vy: *const Sint16, 606 n: libc::c_int, 607 s: libc::c_int, 608 color: Uint32, 609 ) -> libc::c_int; 610 } 611 extern "C" { bezierRGBA( renderer: *mut SDL_Renderer, vx: *const Sint16, vy: *const Sint16, n: libc::c_int, s: libc::c_int, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int612 pub fn bezierRGBA( 613 renderer: *mut SDL_Renderer, 614 vx: *const Sint16, 615 vy: *const Sint16, 616 n: libc::c_int, 617 s: libc::c_int, 618 r: Uint8, 619 g: Uint8, 620 b: Uint8, 621 a: Uint8, 622 ) -> libc::c_int; 623 } 624 extern "C" { gfxPrimitivesSetFont(fontdata: *const libc::c_void, cw: Uint32, ch: Uint32)625 pub fn gfxPrimitivesSetFont(fontdata: *const libc::c_void, cw: Uint32, ch: Uint32); 626 } 627 extern "C" { gfxPrimitivesSetFontRotation(rotation: Uint32)628 pub fn gfxPrimitivesSetFontRotation(rotation: Uint32); 629 } 630 extern "C" { characterColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, c: libc::c_char, color: Uint32, ) -> libc::c_int631 pub fn characterColor( 632 renderer: *mut SDL_Renderer, 633 x: Sint16, 634 y: Sint16, 635 c: libc::c_char, 636 color: Uint32, 637 ) -> libc::c_int; 638 } 639 extern "C" { characterRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, c: libc::c_char, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int640 pub fn characterRGBA( 641 renderer: *mut SDL_Renderer, 642 x: Sint16, 643 y: Sint16, 644 c: libc::c_char, 645 r: Uint8, 646 g: Uint8, 647 b: Uint8, 648 a: Uint8, 649 ) -> libc::c_int; 650 } 651 extern "C" { stringColor( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, s: *const libc::c_char, color: Uint32, ) -> libc::c_int652 pub fn stringColor( 653 renderer: *mut SDL_Renderer, 654 x: Sint16, 655 y: Sint16, 656 s: *const libc::c_char, 657 color: Uint32, 658 ) -> libc::c_int; 659 } 660 extern "C" { stringRGBA( renderer: *mut SDL_Renderer, x: Sint16, y: Sint16, s: *const libc::c_char, r: Uint8, g: Uint8, b: Uint8, a: Uint8, ) -> libc::c_int661 pub fn stringRGBA( 662 renderer: *mut SDL_Renderer, 663 x: Sint16, 664 y: Sint16, 665 s: *const libc::c_char, 666 r: Uint8, 667 g: Uint8, 668 b: Uint8, 669 a: Uint8, 670 ) -> libc::c_int; 671 } 672