diff options
| author | Manolo Gouy <Manolo> | 2017-08-30 08:59:50 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-08-30 08:59:50 +0000 |
| commit | 9fc2d431020dc443e19e7f3c69315e772b220898 (patch) | |
| tree | 9b10f9073f1dae3fb6a25cf080b7066784357dcc /FL | |
| parent | fa5851b29215384d870ebc5670edb2c432fc50e5 (diff) | |
Improve Doxygen comments related to image drawing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 10 | ||||
| -rw-r--r-- | FL/Fl_Image.H | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index ffb6c8408..1a45d375f 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -148,25 +148,25 @@ protected: virtual void draw_image(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D=3) {} /** see fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D) */ virtual void draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D=1) {} - /** \brief Draws an Fl_RGB_Image object to the device. + /** \brief Draws an Fl_RGB_Image object using this graphics driver. * Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments. */ virtual void draw(Fl_RGB_Image * rgb,int XP, int YP, int WP, int HP, int cx, int cy) {} - /** \brief Draws an Fl_Pixmap object to the device. + /** \brief Draws an Fl_Pixmap object using this graphics driver. * Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments. */ virtual void draw(Fl_Pixmap * pxm,int XP, int YP, int WP, int HP, int cx, int cy) {} - /** \brief Draws an Fl_Bitmap object to the device. + /** \brief Draws an Fl_Bitmap object using this graphics driver. * Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments. */ virtual void draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) {} - virtual void draw(Fl_Shared_Image *img, int x, int y); + virtual void draw(Fl_Shared_Image *shared, int X, int Y); virtual int draw_scaled(Fl_Image *img, int X, int Y, int W, int H); virtual void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); @@ -423,7 +423,7 @@ protected: virtual void draw_unscaled(Fl_Bitmap *bm, float s, int XP, int YP, int WP, int HP, int cx, int cy)=0; virtual void draw(Fl_RGB_Image *img, int XP, int YP, int WP, int HP, int cx, int cy); virtual void draw_unscaled(Fl_RGB_Image *img, float s, int XP, int YP, int WP, int HP, int cx, int cy)=0; - void draw(Fl_Shared_Image *shared, int X, int Y); + virtual void draw(Fl_Shared_Image *shared, int X, int Y); virtual void point(int x, int y); virtual void point_unscaled(float x, float y) = 0; virtual void rect(int x, int y, int w, int h); diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 83e76cbd0..3f0ab6fa7 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -164,7 +164,7 @@ public: virtual void label(Fl_Widget*w); virtual void label(Fl_Menu_Item*m); /** - Draws the image with a bounding box. + Draws the image to the current drawing surface with a bounding box. Arguments <tt>X,Y,W,H</tt> specify a bounding box for the image, with the origin (upper-left corner) of the image offset by the \c cx @@ -176,8 +176,8 @@ public: */ virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); // platform dependent /** - Draws the image. - This form specifies the upper-lefthand corner of the image. + Draws the image to the current drawing surface. + \param X, Y specify the upper-lefthand corner of the image. */ void draw(int X, int Y) {draw(X, Y, w(), h(), 0, 0);} // platform dependent virtual void uncache(); |
