Commit 02444b5b authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Apply 6 suggestion(s) to 3 file(s)

parent 92119d6c
......@@ -17,11 +17,11 @@
*
* KisRectsGrid manages the presence of the rectangular cells in the grid
* covering some specific area. The main usecase of the class is to maintain
* an overlay device over some other paint device.
* an overlay device over another paint device.
*
* When you need to ensure that the overlay has some particular `rect` loaded,
* you just call `grid->addRect(rect)` and get a list of rects that should
* still be loaded into the overlay. The returned list may be empty if all the
* you just call `grid->addRect(rect)` and get a list of rects that have not
* yet been loaded into the overlay. The returned list may be empty if all the
* grid cells intersecting `rect` has already been loaded (added to the grid).
*
* The size of the cell is defined at the construction stage and must be
......@@ -45,8 +45,8 @@ public:
/**
* Add an arbitrary (non-aligned) rect to the grid
*
* The grid will form a list of cells that intersect \p rc and are still
* not loaded, mark them as loaded and return the list to the caller.
* The grid will form a list of cells that intersect \p rc and have not
* not yet been loaded, mark them as loaded and return the list to the caller.
*
* \param rc the rect to be added, not necessary aligned to the grid
* \return the list of cells that has actually been changed
......@@ -72,8 +72,8 @@ public:
/**
* Add an aligned rect to the grid
*
* The grid will form a list of cells that intersect \p rc and are still
* not loaded, mark them as loaded and return the list to the caller.
* The grid will form a list of cells that intersect \p rc and have not
* not yet been loaded, mark them as loaded and return the list to the caller.
*
* \param rc the rect to be added, the rect must be aligned
* \return the list of cells that has actually been changed
......
......@@ -24,7 +24,7 @@ class KoColorSpace;
* The data is stored inside device->interstrokeData() and added
* via passing a factory to the transaction.
*
* The data is automatically removed when some incompatible change
* The data is automatically removed when an incompatible change
* happens to a device, e.g. colorspace change or painting with
* incompatible brush.
*/
......
......@@ -13,10 +13,10 @@
class KUndo2Command;
/**
* A simple factory that allows to wrap a paint device transaction
* with two commands. One command will be executed before the own
* A simple factory that allows wrapping a paint device transaction
* with two commands. One command will be executed before the device
* transaction's code, and the other one after the transaction has
* been exected.
* been executed.
*
* The only use of this class now is to change/reset interstroke data of
* a paint device alongside executing the transaction.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment