summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index d7b837915..699b136af 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -50,25 +50,6 @@ void Fl_Pixmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
fl_graphics_driver->draw_pixmap(this, XP, YP, WP, HP, cx, cy);
}
-
-int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
- int &X, int &Y, int &W, int &H) {
- if (w() < 0) measure();
- if (!data() || !w()) {
- draw_empty(XP, YP);
- return 1;
- }
- if (WP == -1) {
- WP = w();
- HP = h();
- }
- if ( fl_graphics_driver->start_image(this, XP,YP,WP,HP,cx,cy,X,Y,W,H) ) return 1;
- if (!id_) {
- fl_graphics_driver->cache(this);
- }
- return 0;
-}
-
/**
The destructor frees all memory and server resources that are used by
the pixmap.