/inkscape/share/extensions/test/ |
H A D | simplestyle.test.py | 13 col = parseColor('red') 14 self.failUnlessEqual((255,0,0),col) 18 col = parseColor('#ff0102') 19 self.failUnlessEqual((255,1,2),col) 23 col = parseColor('#fff') 24 self.failUnlessEqual((255,255,255),col) 28 col = parseColor('rgb(255,255,255)') 29 self.failUnlessEqual((255,255,255),col) 33 col = parseColor('rgb(100%,100%,100%)') 34 self.failUnlessEqual((255,255,255),col) [all...] |
H A D | color_randomize.test.py | 31 col = self.e.colmod(128, 128, 255) 32 self.assertEqual("8080ff", col) 45 col = self.e.colmod(128, 128, 255) 46 self.assertEqual("8080ff", col)
|
/inkscape/src/widgets/ |
H A D | spw-utilities.h | 35 Gtk::Label * spw_label(Gtk::Grid *table, gchar const *label_text, int col, int row, Gtk::Widget *target); 36 Gtk::HBox * spw_hbox(Gtk::Grid *table, int width, int col, int row); 38 Gtk::Label * spw_label(Gtk::Table *table, gchar const *label_text, int col, int row, Gtk::Widget *target); 39 Gtk::HBox * spw_hbox(Gtk::Table *table, int width, int col, int row); 42 GtkWidget * spw_label_old(GtkWidget *table, gchar const *label_text, int col, int row); 50 gchar const *label, gchar *key, int col, int row,
|
H A D | ege-select-one-action.h | 164 * @param col column to use. 166 void ege_select_one_action_set_label_column( EgeSelectOneAction* action, gint col ); 180 * @param col column to use. 182 void ege_select_one_action_set_icon_column( EgeSelectOneAction* action, gint col ); 200 * @param col column to use. 202 void ege_select_one_action_set_tooltip_column( EgeSelectOneAction* action, gint col ); 216 * @param col column to use. 218 void ege_select_one_action_set_sensitive_column( EgeSelectOneAction* action, gint col );
|
H A D | spw-utilities.cpp | 36 * Creates a label widget with the given text, at the given col, row 40 Gtk::Label * spw_label(Gtk::Grid *table, const gchar *label_text, int col, int row, Gtk::Widget* target) argument 42 Gtk::Label * spw_label(Gtk::Table *table, const gchar *label_text, int col, int row, Gtk::Widget* target) 72 table->attach(*label_widget, col, row, 1, 1); 74 table->attach(*label_widget, col, col+1, row, row+1, (Gtk::EXPAND | Gtk::FILL), static_cast<Gtk::AttachOptions>(0), 4, 0); 81 spw_label_old(GtkWidget *table, const gchar *label_text, int col, int row) argument 107 gtk_grid_attach(GTK_GRID(table), label_widget, col, row, 1, 1); local 109 gtk_table_attach(GTK_TABLE (table), label_widget, col, col local 121 spw_hbox(Gtk::Grid * table, int width, int col, int row) argument [all...] |
/inkscape/share/extensions/ |
H A D | render_barcode_datamatrix.py | 451 def module(array, nrow, ncol, row, col, bit) : 454 col = col + 4 - ((nrow+4)%8) 456 if (col < 0): 457 col = col + ncol 460 array[row][col] = bit 503 def utah(array, nrow, ncol, row, col, char): 504 module(array, nrow, ncol,row-2, col-2, bit(char,1)) 505 module(array, nrow, ncol,row-2, col [all...] |
H A D | render_barcode_qrcode.py | 58 def isDark(self, row, col): 59 if (row < 0 or self.moduleCount <= row or col < 0 or self.moduleCount <= col): 60 raise Exception("%s,%s - %s" % (row, col, self.moduleCount)) 61 return self.modules[row][col] 77 for col in range(self.moduleCount): 78 self.modules[row][col] = None #//(col + row) % 3; 94 def setupPositionProbePattern(self, row, col): 102 if (col [all...] |
H A D | export_gimp_palette.py | 43 def addColor(col): 44 if simplestyle.isColor(col): 45 c=simplestyle.parseColor(col)
|
H A D | coloreffect.py | 97 def process_prop(self, col): 98 #inkex.debug('got:'+col+str(type(col))) 99 if simplestyle.isColor(col): 100 c=simplestyle.parseColor(col) 101 col='#'+self.colmod(c[0], c[1], c[2]) 102 #inkex.debug('made:'+col) 103 elif col.startswith('url(#'): 104 id = col[len('url(#'):col [all...] |
H A D | edge3d.py | 109 col = 255 - int(255. * level) 110 a = 'fill:none;stroke:#%02x%02x%02x;stroke-opacity:1;stroke-width:10;%s' % ((col,)*3 + (self.filtId,))
|
/inkscape/src/ui/dialog/ |
H A D | align-and-distribute.h | 78 guint row, guint col, bool onInterSpace, 81 guint row, guint col); 83 guint col, Geom::Dim2 orientation, bool distribute); 86 guint row, guint col); 89 guint row, guint col); 92 guint row, guint col); 95 guint row, guint col); 98 guint row, guint col); 100 guint row, guint col); 102 guint row, guint col); [all...] |
H A D | align-and-distribute.cpp | 1227 guint row, guint col) 1231 id, tiptext, row, col, 1232 *this , col + row * 5)); 1235 guint row, guint col, bool onInterSpace, 1240 id, tiptext, row, col, *this , 1248 guint col, Geom::Dim2 orientation, bool distribute) 1252 id, tiptext, col, 1257 guint row, guint col) 1261 id, tiptext, row, col, *this) 1266 guint row, guint col) 1226 addAlignButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1234 addDistributeButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col, bool onInterSpace, Geom::Dim2 orientation, float kBegin, float kEnd) argument 1247 addNodeButton(const Glib::ustring &id, const Glib::ustring tiptext, guint col, Geom::Dim2 orientation, bool distribute) argument 1256 addRemoveOverlapsButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1265 addGraphLayoutButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1274 addExchangePositionsButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1283 addExchangePositionsByZOrderButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1292 addExchangePositionsClockwiseButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1301 addUnclumpButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1310 addRandomizeButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col) argument 1320 addBaselineButton(const Glib::ustring &id, const Glib::ustring tiptext, guint row, guint col, Gtk::Grid &table, Geom::Dim2 orientation, bool distribute) argument [all...] |
H A D | objects.cpp | 779 Gtk::TreeViewColumn* col = 0; local 784 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 785 if (col == _tree.get_column(COL_VISIBLE-1)) { 789 } else if (col == _tree.get_column(COL_LOCKED-1) || 790 col == _tree.get_column(COL_TYPE-1) || 791 //col == _tree.get_column(COL_INSERTORDER - 1) || 792 col == _tree.get_column(COL_HIGHLIGHT-1)) { 814 Gtk::TreeViewColumn* col = 0; local 819 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 824 _tree.set_cursor(path, *col, fals 957 Gtk::TreeViewColumn* col = 0; local 1664 Gtk::TreeViewColumn* col = _tree.get_column(visibleColNum); local [all...] |
H A D | layers.cpp | 585 Gtk::TreeViewColumn* col = 0; local 590 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 591 if (col == _tree.get_column(COL_VISIBLE-1) || 592 col == _tree.get_column(COL_LOCKED-1)) { 603 Gtk::TreeViewColumn* col = 0; local 608 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 611 if (col == _tree.get_column(COL_VISIBLE - 1)) { 613 } else if (col == _tree.get_column(COL_LOCKED - 1)) { 622 if (col == _tree.get_column(COL_VISIBLE - 1)) { 625 } else if (col 642 Gtk::TreeViewColumn* col = 0; local 826 Gtk::TreeViewColumn* col = _tree.get_column(visibleColNum); local [all...] |
H A D | tags.cpp | 599 Gtk::TreeViewColumn* col = 0; local 604 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 605 if (col == _tree.get_column(COL_ADD-1)) { 627 Gtk::TreeViewColumn* col = 0; local 632 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) { 636 _tree.set_cursor(path, *col, false); 646 if (col == _tree.get_column(COL_ADD - 1) && down_at_add) { 699 Gtk::TreeViewColumn* col = 0; local 704 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) && col 951 Gtk::TreeViewColumn *col = _tree.get_column(addColNum); local [all...] |
H A D | layer-properties.cpp | 219 Gtk::TreeViewColumn* col = _tree.get_column(visibleColNum); local 220 if ( col ) { 221 col->add_attribute( eyeRenderer->property_active(), _model->_colVisible ); 227 col = _tree.get_column(lockedColNum); 228 if ( col ) { 229 col->add_attribute( renderer->property_active(), _model->_colLocked );
|
H A D | input.cpp | 668 guint col = 0; local 674 imageTable.attach(testButtons[num], col, row, 1, 1); 676 imageTable.attach(testButtons[num], col, col + 1, row, row + 1, ::Gtk::FILL, ::Gtk::FILL); 679 col++; 680 if (col > 7) { 681 col = 0; 686 col = 0; 691 imageTable.attach(testAxes[num], col * 2, row, 2, 1); 693 imageTable.attach(testAxes[num], col * [all...] |
/inkscape/src/display/ |
H A D | nr-filter-tile.cpp | 93 for( int col=0; col < tile_cols; ++col ) { 96 Geom::Point offset( col*tile_area.width(), row*tile_area.height() );
|
/inkscape/src/ |
H A D | sp-mesh-array.cpp | 81 col = c*3; 92 if( col != 0 ) j = 1; 94 if( (*nodes)[row+i].size() < col+j+1 ){ 117 p = (*nodes)[ row ][ col+pt ]->p; 120 p = (*nodes)[ row+pt ][ col+3 ]->p; 123 p = (*nodes)[ row+3 ][ col+3-pt ]->p; 126 p = (*nodes)[ row+3-pt ][ col ]->p; 166 // << " col: " << col << std::endl; 169 (*nodes)[ row ][ col [all...] |
H A D | syseq.h | 151 static void gauss_jordan_step (double A[S][T], int row, int col) { argument 152 double piv = A[row][col]; // pivot element 157 if (l == col) continue; 158 A[k][l] -= A[k][col] * A[row][l] / piv; 164 A[k][col] /= piv; 168 if (l == col) continue; 172 A[row][col] = 1/piv; 186 int col = find_pivot<S,T>(A, i, cols_used); local 187 cols_used.push_back(col); 188 if (col [all...] |
/inkscape/src/trace/potrace/ |
H A D | inkscape-potrace.cpp | 541 for (int col=0 ; col<gm->width ; col++) { 542 gm->setPixel(gm, col, row, GRAYMAP_WHITE); 549 for (int col=0 ; col<iMap->width ; col++) { 550 int indx = (int) iMap->getPixel(iMap, col, row); 552 gm->setPixel(gm, col, row, GRAYMAP_BLACK); //black 554 gm->setPixel(gm, col, ro [all...] |
/inkscape/src/libcroco/ |
H A D | cr-input.c | 64 *The current col number 66 gulong col; member in struct:_CRInputPriv 170 PRIVATE (result)->col = 0; 470 PRIVATE (a_this)->col = 1; 474 PRIVATE (a_this)->col++; 539 PRIVATE (a_this)->col = a_col; 559 *a_col = PRIVATE (a_this)->col; 597 PRIVATE (a_this)->col += a_increment; 995 a_pos->col = PRIVATE (a_this)->col; [all...] |
/inkscape/src/ui/ |
H A D | previewholder.cpp | 164 int col = i % width; local 175 // g_message(" %3d resize from %d to %d (r:%d, c:%d) with %d children", i, oldWidth, width, row, col, childCount ); 196 _insides->attach(*thing, col, row, 1, 1); 198 } else if ( col == 0 ) { 203 _insides->attach( *thing, col, col+1, row, row+1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND ); 458 int col = 0; local 490 _insides->attach( *thing, col, row, 1, 1); 492 _insides->attach( *thing, col, col [all...] |
/inkscape/src/extension/internal/bitmap/ |
H A D | imagemagick.cpp | 201 int col = 0; local 204 if (col++ > 76) { 206 col = 0; 209 if (col) {
|
/inkscape/src/trace/ |
H A D | trace.cpp | 263 for (int col=0 ; col<simage.getWidth() ; col++) 266 double xpos = aImg->geometricBounds()->left() + iwscale * (double)col; 288 //dumpMap->setPixelLong(dumpMap, col, row, 0L); 289 simage.setConfidence(col, row, 295 //dumpMap->setPixelLong(dumpMap, col, row, 296 // simage.getPixel(col, row)); 297 simage.setConfidence(col, row,
|