Commit Graph

27 Commits

Author SHA1 Message Date
wp_xyz
9db6c1220c LCL/graphutil: Add procedure BitmapGrayscale to convert a bitmap to gray-scale with weighting of color channels (provided by Roland Hahn). 2022-11-03 13:28:42 +01:00
wp_xyz
54efec74f5 GraphUtil/DrawArrow: Avoid separate calculation of sin() and cos(). Issue #39983. 2022-11-02 15:08:34 +01:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
wp
7924956a5a LCL: Add procedure for high-quality image scaling, by Roland Hahn
git-svn-id: trunk@63766 -
2020-08-17 21:41:42 +00:00
mattias
0de0d18fd0 lcl: added RGB to HSV to RGB functions, issue #35112, from Alexey Tor.
git-svn-id: trunk@60456 -
2019-02-18 22:37:08 +00:00
wp
3797b36c48 LCL: Undo r59715 #4ae9277231, 59722 #eb0a09cc7e (not working)
git-svn-id: trunk@59852 -
2018-12-18 14:57:00 +00:00
wp
eb0a09cc7e LCL: Fix memory leak in AntiAliasedStretchBitmap (introduced in r59715 #4ae9277231)
git-svn-id: trunk@59722 -
2018-12-03 21:09:33 +00:00
wp
4ae9277231 IDE: Simplified anti-aliased stretch-drawing of "splash" and "about" forms.
git-svn-id: trunk@59715 -
2018-12-02 17:34:07 +00:00
wp
10743801f0 LCL: Add new procedure "AntiAliasedStretchDrawBitmap"
git-svn-id: trunk@59689 -
2018-11-28 21:44:33 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
juha
43f03b0c5c LCL: Improve conversion routines HLStoRGB and RGBtoHLS. Issue #28423, patch from Vojtech Cihak.
git-svn-id: trunk@49592 -
2015-08-03 23:06:27 +00:00
mattias
f35d89328d lcl: graphutil: fixed range check
git-svn-id: trunk@44973 -
2014-05-08 13:36:10 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
paul
b703e8b2e7 lcl: fix range check error again
git-svn-id: trunk@36826 -
2012-04-17 02:25:08 +00:00
paul
6eb348b717 lcl: fix range check errors
git-svn-id: trunk@36719 -
2012-04-11 03:22:05 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
paul
7cfcf487e3 move WaveTo from synedit to GraphUtil
git-svn-id: trunk@27699 -
2010-10-14 00:48:35 +00:00
paul
084ca7e3cd lcl: add NormalizeRect function
git-svn-id: trunk@18863 -
2009-03-02 03:09:42 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
d694c15f0a LCL: added a FloodFill algorithm. Because it uses Pixels it can only be used for very small canvas
git-svn-id: trunk@15404 -
2008-06-13 09:33:39 +00:00
mattias
f2c437b0e5 LCL: reduced warnings
git-svn-id: trunk@15312 -
2008-06-05 05:10:35 +00:00
vincents
51e4233a16 LCL: added functions for drawing arrows from Benito van der Zander (bug #11202)
git-svn-id: trunk@15305 -
2008-06-04 08:56:54 +00:00
paul
f703ada675 gtk, qt: improve a bit getsyscolor return
git-svn-id: trunk@14957 -
2008-04-25 07:21:19 +00:00
paul
0b46b68588 lcl: add some useful stuff into graphutil.pp
git-svn-id: trunk@14956 -
2008-04-25 02:27:17 +00:00
paul
77fc8fc4c2 lcl: add delphi compatibility stuff to GraphUtil
git-svn-id: trunk@14955 -
2008-04-25 00:54:04 +00:00
marc
c82d2dcc96 * Added Graphics Utility unit
git-svn-id: trunk@14953 -
2008-04-24 23:00:01 +00:00