Multi-target net5.0
This commit is contained in:
parent
6d7ac90088
commit
3e8e4a6319
7 changed files with 214 additions and 194 deletions
|
|
@ -97,7 +97,7 @@ namespace Raylib_cs
|
|||
return ImageTextEx(font, p, fontSize, spacing, tint);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static void ImageToPOT(ref Image image, Color fill)
|
||||
{
|
||||
fixed (Image* p = &image)
|
||||
|
|
@ -274,6 +274,24 @@ namespace Raylib_cs
|
|||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ImageDrawPixel(Image*, int, int, Color)"/>
|
||||
public static void ImageDrawPixel(ref Image dst, int posX, int posY, Color color)
|
||||
{
|
||||
fixed (Image* p = &dst)
|
||||
{
|
||||
ImageDrawPixel(p, posX, posY, color);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ImageDrawPixelV(Image*, Vector2, Color)"/>
|
||||
public static void ImageDrawPixelV(ref Image dst, Vector2 position, Color color)
|
||||
{
|
||||
fixed (Image* p = &dst)
|
||||
{
|
||||
ImageDrawPixelV(p, position, color);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ImageDrawText(Image*, byte*, int, int, int, Color)"/>
|
||||
public static void ImageDrawText(ref Image dst, Utf8String text, int x, int y, int fontSize, Color color)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue