| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
#pragma once |
| 19 |
|
| 20 |
#include <gtk/gtk.h> |
| 21 |
#include "shumate-vector-symbol-info-private.h" |
| 22 |
#include "shumate-vector-collision-private.h" |
| 23 |
|
| 24 |
G_BEGIN_DECLS |
| 25 |
|
| 26 |
#define SHUMATE_TYPE_VECTOR_SYMBOL (shumate_vector_symbol_get_type()) |
| 27 |
G_DECLARE_FINAL_TYPE (ShumateVectorSymbol, shumate_vector_symbol, SHUMATE, VECTOR_SYMBOL, GtkWidget) |
| 28 |
|
| 29 |
ShumateVectorSymbol *shumate_vector_symbol_new (ShumateVectorSymbolInfo *symbol_info); |
| 30 |
|
| 31 |
ShumateVectorSymbolInfo *shumate_vector_symbol_get_symbol_info (ShumateVectorSymbol *self); |
| 32 |
|
| 33 |
gboolean shumate_vector_symbol_calculate_collision (ShumateVectorSymbol *self, |
| 34 |
ShumateVectorCollision *collision, |
| 35 |
double x, |
| 36 |
double y, |
| 37 |
double zoom_level, |
| 38 |
double rotation, |
| 39 |
graphene_rect_t *bounds_out); |
| 40 |
G_END_DECLS |