sp-gradient-fns.h revision 9d24c3279941c5e2e76ac2f0dbd519ddbff24e58
#ifndef SEEN_SP_GRADIENT_FNS_H
#define SEEN_SP_GRADIENT_FNS_H
/** \file
* Macros and fn declarations related to gradients.
*/
#include <glib-object.h>
#include "sp-gradient-spread.h"
#include "sp-gradient-units.h"
}
}
#define SP_TYPE_GRADIENT (sp_gradient_get_type())
#define SP_GRADIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_GRADIENT, SPGradientClass))
/** Forces vector to be built, if not present (i.e. changed) */
/** Ensures that color array is populated */
/* Gradient repr methods */
void sp_gradient_render_vector_block_rgba(SPGradient *gr, guchar *px, gint w, gint h, gint rs, gint pos, gint span, bool horizontal);
void sp_gradient_render_vector_block_rgb(SPGradient *gr, guchar *px, gint w, gint h, gint rs, gint pos, gint span, bool horizontal);
#endif /* !SEEN_SP_GRADIENT_FNS_H */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :