Ipelib
|
#include <ipeattributes.h>
Classes | |
struct | Stop |
Public Types | |
enum | TType { EAxial = 2 , ERadial = 3 } |
Public Attributes | |
TType | iType |
Vector | iV [2] |
double | iRadius [2] |
bool | iExtend |
Matrix | iMatrix |
std::vector< Stop > | iStops |
A gradient pattern.
enum ipe::Gradient::TType |
TType ipe::Gradient::iType |
The type of gradient: axial or radial.
Referenced by ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), ipe::PdfWriter::PdfWriter(), and ipe::StyleSheet::saveAsXml().
Vector ipe::Gradient::iV[2] |
The coordinates of the axis endpoints, or the two circle centers.
Referenced by ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), ipe::PdfWriter::PdfWriter(), and ipe::StyleSheet::saveAsXml().
double ipe::Gradient::iRadius[2] |
The radii of the two circles (not used for axial gradients).
Referenced by ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), ipe::PdfWriter::PdfWriter(), and ipe::StyleSheet::saveAsXml().
bool ipe::Gradient::iExtend |
Whether to extend the gradient beyond the endpoints.
Referenced by ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), ipe::PdfWriter::PdfWriter(), and ipe::StyleSheet::saveAsXml().
Matrix ipe::Gradient::iMatrix |
Gradient transformation.
Referenced by ipe::PdfPainter::doDrawPath(), ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), and ipe::StyleSheet::saveAsXml().
std::vector<Stop> ipe::Gradient::iStops |
The color stops.
Referenced by ipe::CairoPainter::doDrawPath(), ipe::ImlParser::parseStyle(), ipe::PdfWriter::PdfWriter(), and ipe::StyleSheet::saveAsXml().