2 * Copyright (C) <2003> iOS-Software
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
23 #include "goom_typedefs.h"
24 #include "goom_graphic.h"
25 #include "goom_config.h"
34 /* tableau de points */
38 GMUnitPointer *points;
39 GMUnitPointer *points2;
46 guint32 color; /* pour l'instant je stocke la couleur a terme, on stockera le mode couleur et l'on animera */
58 /* les ID possibles */
61 /* (param = radius) */
69 /* les modes couleur possible (si tu mets un autre c'est noir) */
71 #define GML_BLEUBLANC 0
73 #define GML_ORANGE_V 2
74 #define GML_ORANGE_J 3
79 /* construit un effet de line (une ligne horitontale pour commencer) */
80 GMLine *goom_lines_init (PluginInfo *goomInfo, int rx, int ry,
81 int IDsrc, float paramS, int modeCoulSrc,
82 int IDdest, float paramD, int modeCoulDest);
84 void goom_lines_switch_to (GMLine * gml, int IDdest, float param,
88 void goom_lines_set_res (GMLine * gml, int rx, int ry);
90 void goom_lines_free (GMLine ** gml);
92 void goom_lines_draw (PluginInfo *plugInfo, GMLine * gml, gint16 data[512], Pixel *p);