mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Code quality changes, and added the possibility to set the amount of colors for the Quantizer.
This commit is contained in:
parent
3b1560390b
commit
77a92d98c3
92 changed files with 690 additions and 653 deletions
|
@ -44,19 +44,19 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
public int Y;
|
||||
|
||||
public POINT(int x, int y) {
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
X = x;
|
||||
Y = y;
|
||||
}
|
||||
public POINT(Point point) {
|
||||
this.X = point.X;
|
||||
this.Y = point.Y;
|
||||
X = point.X;
|
||||
Y = point.Y;
|
||||
}
|
||||
|
||||
public static implicit operator System.Drawing.Point(POINT p) {
|
||||
return new System.Drawing.Point(p.X, p.Y);
|
||||
public static implicit operator Point(POINT p) {
|
||||
return new Point(p.X, p.Y);
|
||||
}
|
||||
|
||||
public static implicit operator POINT(System.Drawing.Point p) {
|
||||
public static implicit operator POINT(Point p) {
|
||||
return new POINT(p.X, p.Y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue