Commit graph

5 commits

Author SHA1 Message Date
RKrom
b3ea27ef6e Fixed compile error, forgot parameter
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2497 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 10:51:11 +00:00
RKrom
0989012a37 Did some performance improvements for the CreateShadow, without using our Gaussian (is still available) this saves a temporarily additional bitmap copy. On Vista/Windows 7 GDI+ is used, on other systems a fall-back with BoxBlur is used.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2496 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 10:00:40 +00:00
RKrom
9d1b0e5dc4 Added DrawWithBlur to the GDIplus. P.S. all blur logic seems to be broken on Windows 8 when having a radius < 20
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2495 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 09:51:59 +00:00
RKrom
9f86db6828 Improved "speed" of the ApplyBlur by using "static final readonly" for the FieldInfo to get the private field and improved stability by using finally to cleanup. (as it should be)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2490 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-15 13:35:15 +00:00
RKrom
0408c755d6 Added GDIplus.cs, this contains a GDI+ wrapper. Currently there is the ApplyBlur which applies a Gaussian blur effect on the specified rectangle of the passed bitmap.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2489 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-15 12:34:28 +00:00