sp-pattern.h revision ff167176a03ecdec32a72a475341dc6cf7ff7afe
/** @file
* SVG <pattern> implementation
*//*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
*
* Copyright (C) 2002 Lauris Kaplinski
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_SP_PATTERN_H
#define SEEN_SP_PATTERN_H
#include <list>
#include <stddef.h>
#include <sigc++/connection.h>
#include "svg/svg-length.h"
#include "sp-paint-server.h"
#include "uri-references.h"
#include "viewbox.h"
}
}
enum PatternUnits {
};
SPPattern();
/* Reference (href) */
gdouble get_height() const;
/**
* @brief create a new pattern in XML tree
* @return created pattern id
*/
bool isValid() const;
bool _has_item_children() const;
/**
Count how many times pattern is used by the styles of o and its descendants
*/
/**
Gets called when the pattern is reattached to another <pattern>
*/
/**
Gets called when the referenced <pattern> is changed
*/
/* patternUnits and patternContentUnits attribute */
bool patternUnits_set : 1;
bool patternContentUnits_set : 1;
/* patternTransform attribute */
bool patternTransform_set : 1;
/* Tile rectangle */
SVGLength x;
SVGLength y;
};
}
return SP_IS_PATTERN (obj);
}
};
#endif // SEEN_SP_PATTERN_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:fileencoding=utf-8:textwidth=99 :