#ifndef INKSCAPE_LIVAROT_INT_LINE_H
#define INKSCAPE_LIVAROT_INT_LINE_H
#include "livarot/LivarotDefs.h"
/** \file
* Coverage with integer boundaries.
*/
/// A run with integer boundaries.
struct int_ligne_run {
int st;
int en;
float vst;
float ven;
};
/// Integer boundary.
struct int_ligne_bord {
int pos;
bool start;
float val;
int other;
int prev;
int next;
};
/**
* Coverage with integer boundaries.
*
* This is what we want for actual rasterization. It contains the same
* stuff as FloatLigne, but technically only the Copy() functions are used.
*/
int nbBord;
int maxBord;
int nbRun;
int maxRun;
int firstAc;
int lastAc;
IntLigne();
void Reset();
void Flatten();
void Affiche();
void Copy(FloatLigne* a);
float RemainingValAt(int at);
return 1;
}
return -1;
}
return 0;
}
};
};
};
#endif
/*
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:fileencoding=utf-8:textwidth=99 :