add API to create [tar.xz] archives
[ardour.git] / libs / canvas / image.cc
index 46cadd0d1cc32008b3c0482725715970c11df2bc..b42c7053a88267e586c445ca6dbc62ef73a4b2d6 100644 (file)
@@ -42,7 +42,7 @@ Image::Image (Item* parent, Cairo::Format fmt, int width, int height)
        DataReady.connect (data_connections, MISSING_INVALIDATOR, boost::bind (&Image::accept_data, this), gui_context());
 }
 
-void 
+void
 Image::render (Rect const& area, Cairo::RefPtr<Cairo::Context> context) const
 {
        if (_need_render && _pending) {
@@ -53,7 +53,7 @@ Image::render (Rect const& area, Cairo::RefPtr<Cairo::Context> context) const
                                                        _pending->stride);
                _current = _pending;
        }
-       
+
        Rect self = item_to_window (Rect (0, 0, _width, _height));
        boost::optional<Rect> draw = self.intersection (area);
 
@@ -96,12 +96,12 @@ Image::put_image (boost::shared_ptr<Data> d)
 }
 
 void
-Image::accept_data () 
+Image::accept_data ()
 {
        /* must be executed in gui thread */
 
        begin_change ();
        _need_render = true;
        end_change (); // notify canvas that we need redrawing
-}           
+}