#include <bitmap-helpers.hh>
|
| static Ptr | create (int width, int height, cairo_format_t format) |
| |
| static Ptr | create (int width, int height, cairo_format_t format, int stride, boost::shared_ptr< unsigned char > const &data) |
| |
|
| | BitmapSurface (int width, int height, cairo_format_t format) |
| |
| | BitmapSurface (int width, int height, cairo_format_t format, int stride, boost::shared_ptr< unsigned char > const &data) |
| |
|
| cairo_surface_t *const | surface |
| |
| const boost::shared_ptr< unsigned char > | data |
| |
◆ Ptr
◆ ~BitmapSurface()
| Scroom::Bitmap::BitmapSurface::~BitmapSurface |
( |
| ) |
|
24 { cairo_surface_destroy(
surface); }
◆ BitmapSurface() [1/4]
| Scroom::Bitmap::BitmapSurface::BitmapSurface |
( |
const BitmapSurface & |
| ) |
|
|
delete |
◆ BitmapSurface() [2/4]
| Scroom::Bitmap::BitmapSurface::BitmapSurface |
( |
BitmapSurface && |
| ) |
|
|
delete |
◆ BitmapSurface() [3/4]
| Scroom::Bitmap::BitmapSurface::BitmapSurface |
( |
int |
width, |
|
|
int |
height, |
|
|
cairo_format_t |
format |
|
) |
| |
|
private |
29 :
surface(cairo_image_surface_create(format, width, height))
◆ BitmapSurface() [4/4]
| Scroom::Bitmap::BitmapSurface::BitmapSurface |
( |
int |
width, |
|
|
int |
height, |
|
|
cairo_format_t |
format, |
|
|
int |
stride, |
|
|
boost::shared_ptr< unsigned char > const & |
data |
|
) |
| |
|
private |
38 :
surface(cairo_image_surface_create_for_data(data_.get(), format, width, height, stride))
◆ create() [1/2]
| BitmapSurface::Ptr Scroom::Bitmap::BitmapSurface::create |
( |
int |
width, |
|
|
int |
height, |
|
|
cairo_format_t |
format |
|
) |
| |
|
static |
◆ create() [2/2]
| BitmapSurface::Ptr Scroom::Bitmap::BitmapSurface::create |
( |
int |
width, |
|
|
int |
height, |
|
|
cairo_format_t |
format, |
|
|
int |
stride, |
|
|
boost::shared_ptr< unsigned char > const & |
data |
|
) |
| |
|
static |
◆ get()
| cairo_surface_t * Scroom::Bitmap::BitmapSurface::get |
( |
| ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ data
| const boost::shared_ptr<unsigned char> Scroom::Bitmap::BitmapSurface::data |
|
private |
◆ surface
| cairo_surface_t* const Scroom::Bitmap::BitmapSurface::surface |
|
private |
The documentation for this class was generated from the following files: