Hello Werner, At 09:42 AM 24/01/2007 +0100, you wrote: >Hi, > >I have a proposed change for the freetype part of plplot: for the >wxwidgets driver I'm using not only one scaling factors but two (for x >and y), which is nicer if you resize the windows. But since the freetype >interface allows to set only one scaling factor, the font output is a >mess if I resize the window for the wxwidgets driver if freetype is enabled. > >I have now replaced the scaling factor "scale", by "scalex" and >"scaley", made corresponding changes in the code of plfreetype.c and >gd.c and wingcc.c (which set both factors to the same value, so here is >no impact). > >Does anyone have objections if I commit that changes?
May I make a suggestion ? Keep scale, add "scalex" and "scaley", and add logic so that if "scalex" and "scaley" are defined, they are used to scale the plot, but if they aren't then "scale" is used ? That way the changes will be 100% backwards compatible. -Andrew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel