-
Notifications
You must be signed in to change notification settings - Fork 552
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
CGS small update #2984
base: master
Are you sure you want to change the base?
CGS small update #2984
Conversation
- fixed DrawFilledEllipse function - added GetPixels function (gets a rectangle of pixels from the canvas and stores them into a bitmap) - added image resize functions
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.
seems about right
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.
Thank you for your PR!
Please see my attached requested changes. Can you please also remove the changes to the packages.lock from the jsons?
/// <param name="NewW">the new width of the bitmap</param> | ||
/// <param name="NewH">the new height of the bitmap</param> | ||
/// <returns>resized image</returns> | ||
public static Bitmap Resize(Bitmap image, uint NewW, uint NewH) |
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.
Please rename NewW
to newWidth
and NewH
to newHeight
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.
Still not fixed
Co-authored-by: Quajak <[email protected]>
Co-authored-by: Quajak <[email protected]>
Co-authored-by: Quajak <[email protected]>
@quajak all the commit requests have been accepted, also about the the getpixels function, i have moved it to the bitmap class. |
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.
Please fix the other requested changes before we can merge this.
@quajak Done, i have fixed any remaning changes. about the packages.lock thing.... i don't know how to revert it. could you tell me |
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.
Please make the requested changes. Regarding the lock files, the easiest way might be to manually revert the changes in the files
/// <returns>Bitmap</returns> | ||
public static Bitmap FromCanvasRegion(Canvas canvas, int X, int Y, ushort W, ushort H) | ||
{ | ||
|
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.
Please fix the additional new lines and tabbing of the function
Bruh |
sorry for all the ghost additions and delitions but my github went crazy