1#ifndef COASTLINE_DECALDRAW_H
2#define COASTLINE_DECALDRAW_H
void DrawDashedRoundedRect(s32 x0, s32 y0, s32 x1, s32 y1)
Draw the dashed outline of a rectangle with rounded corners.
void StrokeDecalRectangle(s32 x0, s32 y0, s32 x1, s32 y1)
Paint the outline of a rectangle with the brush.
void FillDecalRoundRect(s32 x0, s32 y0, s32 x1, s32 y1)
Fill a rectangle with rounded corners.
void FillRect4Bit(s32 x0, s32 y0, s32 x1, s32 y1)
Fill a rectangle, excluding its far column and row.
void FillCircle4Bit(s32 x, s32 y, s32 radius, u8 fromScreen)
Fill a circle.
void EmitScaledTextureRect(s32 textureWidth, s32 textureHeight, s32 x, s32 y, s32 width, s32 height)
Draw the texture already loaded over a rectangle of the screen, upside down: the decal being edited.
void DrawDecalFilledEllipse(s32 x0, s32 y0, s32 x1, s32 y1)
Fill the ellipse in a rectangle.
void FloodFill4Bit(s32 x, s32 y)
Fill the area of the color under a point with the color painted with.
void DrawDecalTextPreview(s32 x, s32 y)
Draw the text not yet painted on the screen, centered on a point, with its shadow when the text tool ...
void SetPixel4Bit(s32 x, s32 y, u8 color)
Write a texel of the decal being edited, unless it is outside the decal or the mask protects it.
void SwapBytes(u8 *a, u8 *b)
Swap two bytes.
void DrawLine4Bit(s32 x0, s32 y0, s32 x1, s32 y1)
Paint a line with the brush.
void DrawDashedRectangle(s32 x0, s32 y0, s32 x1, s32 y1)
Draw the dashed outline of a rectangle.
u8 GetPixel4Bit(s32 x, s32 y)
Read a texel of the decal being edited.
void DrawDecalCircleOutline(s32 x, s32 y, s32 radius)
Paint the outline of a circle with the brush.
void DrawDashedCircle(s32 x, s32 y, s32 radius)
Draw the dashed outline of a circle, the part over the decal only.
u8 ReadPixel4Bit(u8 *texels, s32 x, s32 y)
Read a texel of a decal the size of the one being edited.
void DrawDecalRoundedRectOutline(s32 x0, s32 y0, s32 x1, s32 y1)
Paint the outline of a rectangle with rounded corners with the brush.
void DrawDashedEllipse(s32 x0, s32 y0, s32 x1, s32 y1)
Draw the dashed outline of the ellipse in a rectangle.
void DrawDashedLine(s32 x0, s32 y0, s32 x1, s32 y1)
Draw the dashed line from the first point of a line to the cursor.
void StampTextOnDecal(s32 x, s32 y)
Paint the text into the decal, centered on a point, with its shadow when the text tool has it.
void DrawDecalEllipseOutline(s32 x0, s32 y0, s32 x1, s32 y1)
Paint the outline of the ellipse in a rectangle with the brush.
Integer and floating-point types of libultra.
int s32
Definition ultratypes.h:25
unsigned char u8
Definition ultratypes.h:18