I also want to refactor the Cairo part, but I need to get a bit more familiar with the intent behind each part and with how Cairo manages its internal state.
When it's refactored right, creating tests for the visual output of this (so that we can test that the ruler is being drawn correctly) should be possible :)
I also want to refactor the Cairo part, but I need to get a bit more familiar with the intent behind each part and with how Cairo manages its internal state.
When it's refactored right, creating tests for the visual output of this (so that we can test that the ruler is being drawn correctly) should be possible :)