libsysprof-gtk: allow flipping y-axis of line layer

This way it can be packed into a split layer to allow emulate our previous
duplex graphs.
This commit is contained in:
Christian Hergert
2023-06-20 16:19:39 -07:00
parent 5403f0335f
commit 1522a9f57f
2 changed files with 48 additions and 1 deletions

View File

@ -44,6 +44,11 @@ SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_series (SysprofLineLayer *self,
SysprofXYSeries *series);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_flip_y (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_flip_y (SysprofLineLayer *self,
gboolean flip_y);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_use_curves (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_use_curves (SysprofLineLayer *self,