8 #ifndef K_FIRESYNC_GRAPHIC_H
9 #define K_FIRESYNC_GRAPHIC_H
49 #include <kFireSync/Data/kGraphic.x.h>
kRotatedRect32s * kGraphic_DrawRotatedRects32s(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRotatedRect32s *rects, kSize count)
Draws a set of rotated rectangles.
kStatus kGraphic_Construct(kGraphic *graphic, kObject allocator)
Constructs a graphic object.
void * kGraphic_DrawImage32f(kGraphic graphic, kImage image, kRect32f dest)
Draws an image.
kPoint32f * kGraphic_DrawPolyline32f(kGraphic graphic, kGraphicPen pen, const kPoint32f *points, kSize count)
Draws connected line segments.
kGraphicFont kGraphic_AddFont(kGraphic graphic, kFontFamily family, kFontStyle style, k32f height)
Adds a font that can be used for drawing operations.
Represents alignment within a 3x3 grid.
kPoint32s * kGraphic_DrawPolygon32s(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kPoint32s *points, kSize count)
Draws a polygon.
Represents font family values.
Represents a collection of vector graphics.
kPointer kGraphicBrush
Represents a graphic brush.
Definition: kGraphic.h:18
Color as an integer with 8-bit alpha, red, green, and blue components.
kChar * kGraphic_DrawString32s(kGraphic graphic, kGraphicFont font, kGraphicBrush brush, kPoint32s location, k32s angle, kAlignment alignment, const kChar *text)
Draws a string.
kRect32s * kGraphic_DrawRects32s(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRect32s *rects, kSize count)
Draws a set of rectangles.
kGraphicPen kGraphic_AddPen(kGraphic graphic, kColor color, k32f width)
Adds a pen that can be used for drawing operations.
kPointer kGraphicFont
Represents a graphic font.
Definition: kGraphic.h:32
kPointer kGraphicPen
Represents a graphic pen.
Definition: kGraphic.h:25
kGraphicBrush kGraphic_AddSolidBrush(kGraphic graphic, kColor color)
Adds a solid brush that can be used for drawing operations.
kPoint32f * kGraphic_DrawPolygon32f(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kPoint32f *points, kSize count)
Draws a polygon.
void * kGraphic_DrawImage32s(kGraphic graphic, kImage image, kRect32s dest)
Draws an image.
kPointer kGraphicMarker
Represents a graphic marker.
Definition: kGraphic.h:39
Represents font style values.
kRect32s * kGraphic_DrawEllipses32s(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRect32s *rects, kSize count)
Draws a set of ellipses.
kPoint32s * kGraphic_DrawPoints32s(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, kGraphicMarker marker, const kPoint32s *points, kSize count)
Draws a set of points using a pre-define shape.
kChar * kGraphic_DrawString32f(kGraphic graphic, kGraphicFont font, kGraphicBrush brush, kPoint32f location, k32f angle, kAlignment alignment, const kChar *text)
Draws a string.
kRect32f * kGraphic_DrawEllipses32f(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRect32f *rects, kSize count)
Draws a set of ellipses.
kRotatedRect32f * kGraphic_DrawRotatedRects32f(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRotatedRect32f *rects, kSize count)
Draws a set of rotated rectangles.
Graphic marker shape enumeration.
kPoint32s * kGraphic_DrawPolyline32s(kGraphic graphic, kGraphicPen pen, const kPoint32s *points, kSize count)
Draws connected line segments.
kPoint32f * kGraphic_DrawPoints32f(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, kGraphicMarker marker, const kPoint32f *points, kSize count)
Draws a set of points using a pre-define shape.
kGraphicMarker kGraphic_AddMarker(kGraphic graphic, kMarkerShape shape, k32f size)
Adds a marker shape that can be used for drawing operations.
kRect32f * kGraphic_DrawRects32f(kGraphic graphic, kGraphicPen pen, kGraphicBrush brush, const kRect32f *rects, kSize count)
Draws a set of rectangles.
Declares the kColor type.