|
|
The example program calls function fl_scale(double x, double y) with null x and y.
These values are not in the range of meaningful values for a scaling operation. I see that other platforms accept that in the context of the example program, but I see that as a happy border effect an FLTK app should not rely on.
Why does the example program call fl_scale(0, 0) in the first place?
About how the Cairo backend of FLTK draw points : it draws a filled rectangle of size 1 unit as shown by this code fragment
void Fl_Cairo_Graphics_Driver::point(int x, int y) { rectf(x, y, 1, 1); }
--
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/988fa867-42d0-49cb-8840-9bad14f57a2cn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |