comparison dwt/internal/gtk/c/cairotypes.d @ 21:4f9c0fea3440

Path
author Frank Benoit <benoit@tionex.de>
date Mon, 07 Jan 2008 09:11:15 +0100
parents b73b14942338
children bc06000c0816
comparison
equal deleted inserted replaced
20:55c4568a2bab 21:4f9c0fea3440
362 * array. This number is larger than the number of independent path 362 * array. This number is larger than the number of independent path
363 * portions (defined in cairo_path_data_type_t), since the data 363 * portions (defined in cairo_path_data_type_t), since the data
364 * includes both headers and coordinates for each portion. 364 * includes both headers and coordinates for each portion.
365 * cairo_status_tstatus; 365 * cairo_status_tstatus;
366 */ 366 */
367 public struct cairo_path_t{} 367 public struct cairo_path_t{
368 int status;
369 cairo_path_data_t * data;
370 int num_data;
371 }
368 // cairo_status_t status; 372 // cairo_status_t status;
369 // cairo-Paths.html 373 // cairo-Paths.html
370 // cairo_path_data_t *data; 374 // cairo_path_data_t *data;
371 // cairo-Paths.html 375 // cairo-Paths.html
372 // int numData; 376 // int numData;
542 * The data element being destroyed. 546 * The data element being destroyed.
543 */ 547 */
544 // void (*cairo_destroy_func_t) (void *data); 548 // void (*cairo_destroy_func_t) (void *data);
545 public typedef extern(C) void function (void*) cairo_destroy_func_t; 549 public typedef extern(C) void function (void*) cairo_destroy_func_t;
546 550
547 // skipped union cairo_path_data_t 551 union cairo_path_data_t{
548 552 struct {
553 int type;
554 int length;
555 }
556 struct {
557 double x;
558 double y;
559 }
560 }
561