selcue.cpp revision 711dce178e9e5938adb42db657ad8a98bd1e15f4
/*
* Helper object for showing selected items
*
* Authors:
* bulia byak <bulia@users.sf.net>
* Carl Hetherington <inkscape@carlh.net>
* Abhishek Sharma
*
* Copyright (C) 2004 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <string.h>
#include "desktop.h"
#include "desktop-handles.h"
#include "selection.h"
#include "display/sp-canvas-util.h"
#include "display/sodipodi-ctrl.h"
#include "display/sodipodi-ctrlrect.h"
#include "libnrtype/Layout-TNG.h"
#include "text-editing.h"
#include "sp-text.h"
#include "sp-flowtext.h"
#include "preferences.h"
#include "selcue.h"
Observer("/tools/bounding_box"),
{
}
{
}
_bounding_box_prefs_observer(*this)
{
);
{
);
}
}
{
}
for (std::vector<SPCanvasItem*>::iterator i = _text_baselines.begin(); i != _text_baselines.end(); ++i) {
}
}
{
}
{
return;
}
}
{
return;
}
int bcount = 0;
if (box) {
if (b) {
}
} else { // no bbox
}
}
}
}
{
}
return;
}
if (b) {
"mode", SP_CTRL_MODE_XOR,
"shape", SP_CTRL_SHAPE_DIAMOND,
"size", 5.0,
"filled", TRUE,
"fill_color", 0x000000ff,
"stroked", FALSE,
"stroke_color", 0x000000ff,
NULL);
NULL);
}
}
if (box) {
}
}
}
{
for (std::vector<SPCanvasItem*>::iterator i = _text_baselines.begin(); i != _text_baselines.end(); ++i) {
}
if (pt) {
"mode", SP_CTRL_MODE_XOR,
"size", 4.0,
"filled", 0,
"stroked", 1,
"stroke_color", 0x000000ff,
NULL);
}
}
}
if (baseline_point) {
}
}
}
{
return;
}
}
/*
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 :