Skip to content

Update Drawing.h #24

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion GUI/Graphics/Drawing.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ extern void OutlineRectangle(const int& x, const int& y, const int& width, const
extern void FilledRectangle(const int& x, const int& y, const int& width, const int& height, MyColour colour);
extern void OutlineRoundedRectangle(const int& x, const int& y, const int& width, const int& height, const int& linewidth, const int& rounding, MyColour colour);
extern void FilledRoundedRectangle(const int& x, const int& y, const int& width, const int& height, const int& rounding, MyColour colour);
extern void OutlineCorneredRectangle(const int& x, const int& y, const int& width, const int& height, const int& linewidth, MyColour colour);
extern void FilledLine(const int& xstart, const int& ystart, const int& xend, const int& yend, const int& width, MyColour colour);
extern void FilledLineAliased(const int& xstart, const int& ystart, const int& xend, const int& yend, const int& width, MyColour colour);
extern void DrawBitmap(ID2D1Bitmap* bmp, const int& x, const int& y, const int& width, const int& height);
Expand All @@ -30,4 +31,4 @@ extern void CreateLayer(const int& startx, const int& starty, const int& limitwi
extern void CreateLayer(const int& startx, const int& starty, const int& limitwidth, const int& limitheight, const float& alpha);
extern void FilledRectangle(const int& x, const int& y, const int& width, const int& height, ID2D1LinearGradientBrush* brush, const LinearBrushStyle& style);
extern void CreateLinearBrush(ID2D1LinearGradientBrush** brush, const float& point1, MyColour colour1, const float& point2, MyColour colour2, const Vector2& start, const Vector2& end);
extern void CreateLinearBrush(ID2D1LinearGradientBrush** brush, const float& point1, MyColour colour1, const float& point2, MyColour colour2, const float& point3, MyColour colour3, const Vector2& start, const Vector2& end);
extern void CreateLinearBrush(ID2D1LinearGradientBrush** brush, const float& point1, MyColour colour1, const float& point2, MyColour colour2, const float& point3, MyColour colour3, const Vector2& start, const Vector2& end);