PSSurface.this - multiple declarations
- Function PSSurface.this
- Function PSSurface.this
- Function PSSurface.this
Function PSSurface.this
Create a PSSurface from a existing cairo_surface_t*.
PSSurface is a garbage collected class. It will call cairo_surface_destroy
when it gets collected by the GC or when dispose() is called.
Prototype
this(
cairo_surface_t* ptr
);
Warning
ptr's reference count is not increased by this function!
Adjust reference count before calling it if necessary
Only use this if you know what your doing! This function should not be needed for standard cairoD usage.
Function PSSurface.this
Creates a PostScript surface of the specified size in points to be written to filename.
Note that the size of individual pages of the PostScript
output can vary. See setSize().
Prototype
this(
string fileName,
double width,
double height
);
Parameters
| Name | Description |
|---|---|
| width | width of the surface, in points (1 point == 1/72.0 inch) |
| height | height of the surface, in points (1 point == 1/72.0 inch) |
Function PSSurface.this
Creates a PostScript surface of the specified size in
points.This will generate a PSSurface that may be queried and
used as a source, without generating a temporary file.
Prototype
this(
double width,
double height
);
Parameters
| Name | Description |
|---|---|
| width | width of the surface, in points (1 point == 1/72.0 inch) |
| height | height of the surface, in points (1 point == 1/72.0 inch) |
Authors
| Johannes Pfau | cairoD |
| cairo team | cairo |
Copyright
License
| cairoD wrapper/bindings | Boost License 1.0 |
| cairo | LGPL 2.1 / MPL 1.1 |