mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix rounding errors and bbox glitches that led to lines missing redraws, plus a few runtime+space efficiency tweaks for simpleline
git-svn-id: svn://localhost/ardour2/branches/3.0@8350 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c5efa4c5d2
commit
f42cc9af98
2 changed files with 50 additions and 147 deletions
|
|
@ -46,13 +46,10 @@ struct _GnomeCanvasSimpleLine
|
|||
GnomeCanvasItem item;
|
||||
double x1, y1, x2, y2;
|
||||
uint32_t color;
|
||||
gboolean horizontal;
|
||||
|
||||
/* cached values set during update/used during render */
|
||||
|
||||
unsigned char r, b, g, a;
|
||||
gint32 bbox_ulx, bbox_uly;
|
||||
gint32 bbox_lrx, bbox_lry;
|
||||
};
|
||||
|
||||
struct _GnomeCanvasSimpleLineClass {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue