mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Cleanup for code-analyses 2nd phase
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2483 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
157cace477
commit
5ffe3dfb42
15 changed files with 190 additions and 137 deletions
|
@ -582,7 +582,9 @@ namespace Greenshot.Helpers {
|
|||
if (element.attributes.ContainsKey("greenshot") && element.attributes["greenshot"] != null) {
|
||||
string greenshotAction = element.attributes["greenshot"];
|
||||
if ("hide".Equals(greenshotAction)) {
|
||||
PixelizationFilter.Apply(graphicsTarget, returnBitmap, element.rectangle, 4);
|
||||
using (Brush brush = new SolidBrush(Color.Black)) {
|
||||
graphicsTarget.FillRectangle(brush, element.rectangle);
|
||||
}
|
||||
} else if ("red".Equals(greenshotAction)) {
|
||||
using (Brush brush = new SolidBrush(Color.Red)) {
|
||||
graphicsTarget.FillRectangle(brush, element.rectangle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue