summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Image.H9
-rw-r--r--FL/Fl_Shared_Image.H2
2 files changed, 7 insertions, 4 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
/**
diff --git a/FL/Fl_Shared_Image.H b/FL/Fl_Shared_Image.H
index 5f96f7f2d..09bd636b2 100644
--- a/FL/Fl_Shared_Image.H
+++ b/FL/Fl_Shared_Image.H
@@ -31,7 +31,7 @@ typedef Fl_Image *(*Fl_Shared_Handler)(const char *name, uchar *header,
// Shared images class.
/**
- This class supports caching, loading,
+ This class supports caching, loading, scaling,
and drawing of image files. Most applications will also want to
link against the fltk_images library and call the
fl_register_images()