summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2008-12-07 12:22:39 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2008-12-07 12:22:39 +0000
commitc1a9019f1c8aa38b99972d5cd5c1b1735fce47b6 (patch)
treefe81c939f66a8696c711bdb226f40a45d3995177
parent9d67f8a624dd3e912c955eab38bae3ad8ebc1206 (diff)
Fixed some typos in src/fl_rect.cxx (doxygen comments).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_rect.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 1edeecce2..caf3cbd1e 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -496,7 +496,7 @@ void fl_restore_clip() {
}
/**
- Replace te top of the clipping stack with a clipping region of any shape.
+ Replace the top of the clipping stack with a clipping region of any shape.
Fl_Region is an operating system specific type.
\param[in] r clipping region
*/
@@ -567,8 +567,8 @@ void fl_push_no_clip() {
// pop back to previous clip:
/**
- Restore the previious clip region.
- You must call fl_pop_clip() omce for every time you call fl_push_clip().
+ Restore the previous clip region.
+ You must call fl_pop_clip() once for every time you call fl_push_clip().
Unpredictable results may occur if the clip stack is not empty when
you return to FLTK.
*/
@@ -584,11 +584,11 @@ void fl_pop_clip() {
Does the rectangle intersect the current clip region?
\param[in] x,y,w,h position and size of rectangle
\returns non-zero if any of the rectangle intersects the current clip
- region, If this returns 0 you don't have to draw the object.
+ region. If this returns 0 you don't have to draw the object.
\note
Under X this returns 2 if the rectangle is partially clipped,
- and 1 is it is entirely inside the clip region.
+ and 1 if it is entirely inside the clip region.
*/
int fl_not_clipped(int x, int y, int w, int h) {
if (x+w <= 0 || y+h <= 0) return 0;
@@ -615,7 +615,7 @@ int fl_not_clipped(int x, int y, int w, int h) {
Intersect the rectangle with the current clip region and return the
bounding box of the result.
Returns non-zero if the resulting rectangle is different to the original.
- Ths can be used to limit the necessary drawing to a rectangle.
+ This can be used to limit the necessary drawing to a rectangle.
\a W and \a H are set to zero if the rectangle is completely outside
the region.
\param[in] x,y,w,h position and size of rectangle