Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326898 Details for
Bug 438872
app-admin/gkrellm - chart rendering bug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for draw_chartdata_impulses function to use gdk_draw_point when appropriate
chart_fix.patch (text/plain), 948 bytes, created by
parafin
on 2012-10-18 23:55:49 UTC
(
hide
)
Description:
patch for draw_chartdata_impulses function to use gdk_draw_point when appropriate
Filename:
MIME Type:
Creator:
parafin
Created:
2012-10-18 23:55:49 UTC
Size:
948 bytes
patch
obsolete
>diff -ur gkrellm-2.3.5-orig/src/chart.c gkrellm-2.3.5/src/chart.c >--- gkrellm-2.3.5-orig/src/chart.c 2010-09-14 20:25:51.000000000 +0400 >+++ gkrellm-2.3.5/src/chart.c 2012-10-19 03:38:55.861080847 +0400 >@@ -413,7 +413,12 @@ > yI += cd->data[x]; > y = chartdata_ycoord(cp, cd, yI); > if (cd->data[x] > 0) >- gdk_draw_line(cd->data_bitmap, _GK.bit1_GC, n, y1, n, y); >+ { >+ if (y == y1) >+ gdk_draw_point(cd->data_bitmap, _GK.bit1_GC, n, y1); >+ else >+ gdk_draw_line(cd->data_bitmap, _GK.bit1_GC, n, y1, n, y); >+ } > y1 = y; > } > else >@@ -423,7 +428,12 @@ > yN += cd->data[x]; > y = chartdata_ycoord(cp, cd, yN); > if (cd->data[x] > 0) >- gdk_draw_line(cd->data_bitmap, _GK.bit1_GC, n, y0, n, y); >+ { >+ if (y == y0) >+ gdk_draw_point(cd->data_bitmap, _GK.bit1_GC, n, y0); >+ else >+ gdk_draw_line(cd->data_bitmap, _GK.bit1_GC, n, y0, n, y); >+ } > y0 = y; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438872
: 326898