Changeset 480 for trunk/src/cairo/PdfSurface.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/cairo/PdfSurface.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/cairo/PdfSurface.d
r454 r480 48 48 * module aliases: 49 49 * local aliases: 50 * overrides: 50 51 */ 51 52 … … 80 81 81 82 /** the main Gtk struct as a void* */ 82 protected void* getStruct()83 protected override void* getStruct() 83 84 { 84 85 return cast(void*)cairo_surface; … … 113 114 * Returns: a pointer to the newly created surface. The callerowns the surface and should call cairo_surface_destroy when donewith it.This function always returns a valid pointer, but it will return apointer to a "nil" surface if an error such as out of memoryoccurs. You can use cairo_surface_status() to check for this. 114 115 */ 115 public static PdfSurface create( char[]filename, double widthInPoints, double heightInPoints)116 public static PdfSurface create(string filename, double widthInPoints, double heightInPoints) 116 117 { 117 118 // cairo_surface_t* cairo_pdf_surface_create (const char *filename, double width_in_points, double height_in_points);
