Changeset 480 for trunk/src/cairo/PostScriptSurface.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/cairo/PostScriptSurface.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/cairo/PostScriptSurface.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; … … 117 118 * 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. 118 119 */ 119 public static PostScriptSurface create( char[]filename, double widthInPoints, double heightInPoints)120 public static PostScriptSurface create(string filename, double widthInPoints, double heightInPoints) 120 121 { 121 122 // cairo_surface_t* cairo_ps_surface_create (const char *filename, double width_in_points, double height_in_points); … … 250 251 * comment = a comment string to be emitted into the PostScript output 251 252 */ 252 public void dscComment( char[]comment)253 public void dscComment(string comment) 253 254 { 254 255 // void cairo_ps_surface_dsc_comment (cairo_surface_t *surface, const char *comment);
