diff options
| author | Rob Loach <[email protected]> | 2020-03-29 06:43:34 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-29 12:43:34 +0200 |
| commit | a025636fa1fa9699b1e20be32f9604e48d0e1e62 (patch) | |
| tree | 7e5718f7fcbcb1bc547cabae136bb9df11fdf494 /projects | |
| parent | 3c3dfde3f900378c47c12b2098f13ca3a1c75e9a (diff) | |
| download | raylib-a025636fa1fa9699b1e20be32f9604e48d0e1e62.tar.gz raylib-a025636fa1fa9699b1e20be32f9604e48d0e1e62.zip | |
Update ImageDraw*() functions to match arguments of Draw*() (#1156)
* Update ImageDraw*() functions to match arguments of Draw*()
Updated draw functions:
ImageDrawPixel()
ImageDrawPixelV()
ImageDrawCircle()
ImageDrawCircleV()
ImageDrawLine()
ImageDrawLineV()
ImageDrawRectangle()
ImageDrawRectangleV()
ImageDrawRectangleRec()
* [nodepadpp] Update Notepad++ ImageDraw defintions
This updates the Notepad++ definitions with the updated ImageDraw methods.
* [examples] Add ImageDraw calls to textures_image_drawing
* Update ImageDraw*() methods
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/Notepad++/c_raylib.xml | 83 |
1 files changed, 82 insertions, 1 deletions
diff --git a/projects/Notepad++/c_raylib.xml b/projects/Notepad++/c_raylib.xml index 62fa10e9..e77d1edc 100644 --- a/projects/Notepad++/c_raylib.xml +++ b/projects/Notepad++/c_raylib.xml @@ -983,8 +983,89 @@ <KeyWord name="ImageDrawRectangle" func="yes"> <Overload retVal="void" descr="Draw rectangle within an image"> <Param name="Image *dst" /> + <Param name="int posX" /> + <Param name="int posY" /> + <Param name="int width" /> + <Param name="int height" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawRectangleV" func="yes"> + <Overload retVal="void" descr="Draw rectangle within an image (Vector version)"> + <Param name="Image *dst" /> <Param name="Vector2 position" /> + <Param name="Vector2 size" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawRectangleRec" func="yes"> + <Overload retVal="void" descr="Draw rectangle within an image"> + <Param name="Image *dst" /> + <Param name="Rectangle rec" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawRectangleLines" func="yes"> + <Overload retVal="void" descr="Draw rectangle lines within an image"> + <Param name="Image *dst" /> <Param name="Rectangle rec" /> + <Param name="int thick" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageClearBackground" func="yes"> + <Overload retVal="void" descr="Clear image background with given color"> + <Param name="Image *dst" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawPixel" func="yes"> + <Overload retVal="void" descr="Clear image background with given color"> + <Param name="Image *dst" /> + <Param name="int posX" /> + <Param name="int posY" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawPixelV" func="yes"> + <Overload retVal="void" descr="Clear image background with given color (Vector version)"> + <Param name="Image *dst" /> + <Param name="Vector2 position" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawCircle" func="yes"> + <Overload retVal="void" descr="Draw circle within an image"> + <Param name="Image *dst" /> + <Param name="int centerX" /> + <Param name="int centerY" /> + <Param name="int radius" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawCircleV" func="yes"> + <Overload retVal="void" descr="Draw circle within an image (Vector version)"> + <Param name="Image *dst" /> + <Param name="Vector2 center" /> + <Param name="int radius" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawLine" func="yes"> + <Overload retVal="void" descr="Draw line within an image"> + <Param name="Image *dst" /> + <Param name="int startPosX" /> + <Param name="int startPosY" /> + <Param name="int endPosX" /> + <Param name="int endPosY" /> + <Param name="Color color" /> + </Overload> + </KeyWord> + <KeyWord name="ImageDrawLineV" func="yes"> + <Overload retVal="void" descr="Draw line within an image (Vector2 version)"> + <Param name="Image *dst" /> + <Param name="Vector2 start" /> + <Param name="Vector2 end" /> <Param name="Color color" /> </Overload> </KeyWord> @@ -2114,4 +2195,4 @@ </Overload> </KeyWord> </AutoComplete> -</NotepadPlus>
\ No newline at end of file +</NotepadPlus> |
