X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fcanvas%2Fcanvas%2Fimage.h;h=292de567230b8faea47ec1d5a4cc77a0050a5e89;hb=d2371a6a903e226466fa4bdba2c6cb0b7f390664;hp=3e6f8209636cd776c4257655976ee6dfdc302f63;hpb=ea5876b8364beb3b1b2fb82909b00ff107dbb6ca;p=ardour.git diff --git a/libs/canvas/canvas/image.h b/libs/canvas/canvas/image.h index 3e6f820963..292de56723 100644 --- a/libs/canvas/canvas/image.h +++ b/libs/canvas/canvas/image.h @@ -36,7 +36,7 @@ class LIBCANVAS_API Image : public Item public: Image (Canvas *, Cairo::Format, int width, int height); Image (Item*, Cairo::Format, int width, int height); - + struct Data { Data (uint8_t *d, int w, int h, int s, Cairo::Format fmt) : data (d) @@ -65,12 +65,12 @@ public: void* destroy_arg; }; - /** - * Returns a shared_ptr to a Data object that can be used to + /** + * Returns a shared_ptr to a Data object that can be used to * write image data to. The Data object will contain a pointer * to the buffer, along with image properties that may be * useful during the data writing. - * + * * Can be called from any thread BUT .. * * ... to avoid collisions with Image deletion, some synchronization method