diff options
| author | Manolo Gouy <Manolo> | 2015-03-12 08:59:14 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-03-12 08:59:14 +0000 |
| commit | 1c3163f206606070c112c8f09a758990a8f2e142 (patch) | |
| tree | 9910a0bb9f18c90da1a44894af99d936fb2c2e8d /FL/Fl_Image.H | |
| parent | ba76bdce028570e0d8d5dd8c28f8ec1335723a65 (diff) | |
More detailed Doxygen doc of Fl_Shared_Image::scale() and Fl_Image::draw(X,Y,W,H,cx,cy).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Image.H')
| -rw-r--r-- | FL/Fl_Image.H | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 1f1ed16bb..6890a9356 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -149,10 +149,13 @@ class FL_EXPORT Fl_Image { virtual void label(Fl_Menu_Item*m); /** Draws the image with a bounding box. - This form specifies + Arguments <tt>X,Y,W,H</tt> specify a bounding box for the image, with the origin - (upper-lefthand corner) of the image offset by the cx - and cy arguments. + (upper-left corner) of the image offset by the \c cx + and \c cy arguments.\n + In other words: <tt>fl_push_clip(X,Y,W,H)</tt> is applied, + the image is drawn with its upper-left corner at <tt>X-cx,Y-cy</tt> and its own width and height, + <tt>fl_pop_clip</tt><tt>()</tt> is applied. */ virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); // platform dependent /** |
