mirror of
https://github.com/greenshot/greenshot
synced 2025-08-13 02:07:07 -07:00
Fix for #1500
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2569 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
7275ad6222
commit
c6c331c0e2
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ namespace Greenshot.Drawing.Filters {
|
|||
int blurRadius = GetFieldValueAsInt(FieldType.BLUR_RADIUS);
|
||||
double previewQuality = GetFieldValueAsDouble(FieldType.PREVIEW_QUALITY);
|
||||
Rectangle applyRect = ImageHelper.CreateIntersectRectangle(applyBitmap.Size, rect, Invert);
|
||||
if (applyRect.Width == 0 || applyRect.Height == 0) {
|
||||
return;
|
||||
}
|
||||
GraphicsState state = graphics.Save();
|
||||
if (Invert) {
|
||||
graphics.SetClip(applyRect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue