Re: New grid item added



On Mon, 2008-11-03 at 11:49 +0000, Damon Chaplin wrote:
> I've just added a new grid item to svn.

How is this different to GooCanvasTable?

> The properties are:
> 
>   x, y, width, height  - the area the grid covers. grid lines are
>                          clipped to this.
>   x_step, y_step       - the distance between grid lines.
>   x_offset, y_offset   - the distance to the first grid lines.
> 
>   horz-grid-line-width - the width of the grid lines.
>   vert-grid-line-width   (defaults to the item's line width)
> 
>   horz-grid-line-pattern - the color/pattern to paint the grid lines
>   vert-grid-line-pattern   (these default to the item's stroke color)
> 
>   border-width         - the width of the border around the grid.
>                          (outside the grid's x, y, width & height)
>   border-pattern       - the color/pattern to paint the border.
> 
>   vert-grid-lines-on-top - TRUE if vertical lines are on top.
>   
> It also has the normal convenience properties for the patterns, i.e.
> XXX-color, XXX-color-rgba and XXX-pixbuf.
> 
> 
> Let me know if I've missed any essential features.
> 
> Note that the grid currently clips to the x, y, width & height
> properties, and the border is tight around that area. So if x_offset or
> y_offset is 0 then half the grid lines get clipped. I'm not entirely
> sure this is the correct thing to do. Possibly not.
> 
> Damon
> 
> 
> _______________________________________________
> Goocanvas-list mailing list
> Goocanvas-list gnome org
> http://mail.gnome.org/mailman/listinfo/goocanvas-list
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]