FLTK logo

Re: [fltk.coredev] Linux drawing in widget error: error in cairo_matrix_invert

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Linux drawing in widget error: error in cairo_matrix_invert Gonzalo Garramuño 14:45 May 23  
 

El 5/21/2023 a las 10:52 PM, Greg Ercolano escribió:

    FWIW I was able to get your app to work by adding the above scale check,     adding colorbar pixels, and drawing dots with fl_begin_complex_polygon() / fl_circle(),
    the attached code gives me:

Thanks, Greg.  I switched from using FLTK functions for calculating the matrix transform to using an actual matrix class and a vector multiply to position my point, which I drew with fl_rectf as I needed the function to be fast (ie. no anti-aliasing of circles).

--
Gonzalo Garramuño
ggarra13@gmail.com

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/ac170073-dc7e-51df-916e-e649f6b85ad9%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.