I have my bigger sample code on Debian and when I try run it on Windows I found problem with displaying lines under thickness 0,5. What can cause it?
/* This is result of my playing with gtkmm4 with big help internet and ui
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// app can create and delete 2d lines and pdfexport and print, work on debian 13 and windows
//compile:
//g++ -std=c++17 main.cc -o app $(pkg-config --cflags --libs gtkmm-4.0 )
//with icons:
This file has been truncated. show original
lb90
July 8, 2025, 7:49am
2
Could you attach two screenshots showing the output on Debian and Windows?
Sorry this is not Cairo problem it is in app, but is difficult that in Debian is all OK but in Windows not. I need more time to analyse, I made test with hard writen lines in on_draw metod and it is OK on both systems:
1 Like