-
-
Notifications
You must be signed in to change notification settings - Fork 105
Added new filter effect shakeoscillate #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
ff2e225 to
facfe48
Compare
|
|
||
| } | ||
|
|
||
| void clearScreen(cairo_t* cr, int width, int height) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameters width and height are unused in this function and can be removed.
|
|
||
| private: | ||
|
|
||
| unsigned int width; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not necessary to declare width and height here, see frei0r.hpp.
| register_param(this->phase, "phase", "The phase of the sin and cos functions of this effect."); | ||
| register_param(this->mirrored, "mirrored", "On/Off Image Mirror Extend"); | ||
|
|
||
| this->width = width; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
width and height are already set in the parent constructor, no need to do this here.
facfe48 to
a0ded73
Compare
a0ded73 to
55d42f7
Compare
55d42f7 to
a718fa6
Compare
|
Thanks for working on this, |
|
Will this be made available soon? |
rebase of PR #197 by @JohannJEG