diff options
author | Sebastian Geerken <devnull@localhost> | 2013-10-08 11:43:05 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-10-08 11:43:05 +0200 |
commit | 770d42709c33d55cfd3d650efbb95abdc7c2cc65 (patch) | |
tree | cc0bd89d027aa0bbbc7a40aebb64dfe714f706f4 | |
parent | 10b15cd3300df05c9bd913212a05fbca4dc86130 (diff) |
Comment.
-rw-r--r-- | dw/style.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dw/style.cc b/dw/style.cc index abb5c84b..721e6c81 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -1051,12 +1051,13 @@ void drawBorder (View *view, Layout *layout, Rectangle *area, * Used by dw::core::Widget::drawBox and dw::core::Widget::drawWidgetBox. * * "area" is the area to be drawn, "x", "y", "width" and "height" - * define the box itself. "xRef", "yRef", "widthRef" and "heightRef" - * define the reference area, which is important for background - * images. All are given in canvas coordinates. - * - * \todo Does "reference" area include margin and padding? Does - * currently, but should probably not. + * define the box itself (padding box). "xRef", "yRef", "widthRef" and + * "heightRef" define the reference area, which is important for the + * tiling of background images (for position 0%/0%, a tile is set at + * xRef/yRef; for position 100%/100%, a tile is set at xRef + + * widthRef/yRef + widthRef). See calls for more informations; in most + * cases, these boxes are identical (padding box). All these + * coordinates are given in canvas coordinates. * * "atTop" should be true, only if the area is drawn directly on the * canvas, not on top of other areas; this is only true for the |