/dports/cad/opencascade/opencascade-7.6.0/samples/tcl/ |
H A D | markers.tcl | 57 set aCol 5 62 vmarkerstest m${aMarkerType}_${aCol} $aCol $aRow 0 PointsOnSide=1 FileName=$aCustom1 63 set aCol [expr $aCol - 1] 64 vmarkerstest m${aMarkerType}_${aCol} $aCol $aRow 0 PointsOnSide=1 FileName=$aCustom2 65 set aCol [expr $aCol - 1] 66 vmarkerstest m${aMarkerType}_${aCol} $aCol $aRow 0 PointsOnSide=1 FileName=$aCustom3 67 set aCol [expr $aCol - 1] 68 vmarkerstest m${aMarkerType}_${aCol} $aCol $aRow 0 PointsOnSide=1 FileName=$aCustom4 71 …vmarkerstest m${aMarkerType}_${aCol} $aCol $aRow 0 MarkerType=$aMarkerType Scale=$aMarkerScale Poi… 72 set aCol [expr $aCol - 1]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/ |
H A D | fp_text_grid_table.cpp | 87 switch( aCol ) in GetColLabelValue() 118 switch( aCol ) in CanGetValueAs() 146 return CanGetValueAs( aRow, aCol, aTypeName ); in CanSetValueAs() 152 switch( aCol ) in GetAttr() 187 switch( aCol ) in GetValue() 226 switch( aCol ) in GetValueAsBool() 242 switch( aCol ) in GetValueAsLong() 257 switch( aCol ) in SetValue() 283 if( aCol == FPT_XOFFSET ) in SetValue() 305 switch( aCol ) in SetValueAsBool() [all …]
|
H A D | fp_text_grid_table.h | 63 wxString GetColLabelValue( int aCol ) override; 71 bool CanGetValueAs( int aRow, int aCol, const wxString& aTypeName ) override; 72 bool CanSetValueAs( int aRow, int aCol, const wxString& aTypeName ) override; 75 wxString GetValue( int aRow, int aCol ) override; 76 bool GetValueAsBool( int aRow, int aCol ) override; 77 long GetValueAsLong( int aRow, int aCol ) override; 79 void SetValue( int aRow, int aCol, const wxString& aValue ) override; 80 void SetValueAsBool( int aRow, int aCol, bool aValue ) override; 81 void SetValueAsLong( int aRow, int aCol, long aValue ) override;
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/data/ |
H A D | table1.cxx | 233 aCol( INITIALCOLCOUNT ), in ScTable() 424 if ( nCol >= aCol.size() ) in GetOptimalColWidth() 437 if ( nCol >= aCol.size() ) in GetNeededSize() 605 while ( nMaxX>0 && aCol[nMaxX].IsVisibleAttrEqual(aCol[nMaxX+1]) ) in GetPrintArea() 619 … while ( nAttrEndX < (aCol.size()-1) && aCol[nAttrStartX].IsVisibleAttrEqual(aCol[nAttrEndX+1]) ) in GetPrintArea() 744 if ( aCol.size() > 1 && aCol[0].IsVisibleAttrEqual(aCol[1]) ) // no single ones in GetDataStart() 747 while ( nMinX<(aCol.size()-1) && aCol[nMinX].IsVisibleAttrEqual(aCol[nMinX-1]) ) in GetDataStart() 911 if ( nCol1 >= aCol.size() ) in GetDataAreaSubrange() 969 if (rEndCol >= aCol.size()) in ShrinkToUsedDataArea() 2590 endIter = aCol.end(); in GetColumnsRange() [all …]
|
H A D | table2.cxx | 306 aCol[nCol].SwapCol(aCol[nCol-1]); in InsertCol() 311 aCol[aCol.size() - 1 - nSize - i].MoveTo(nStartRow, nEndRow, aCol[aCol.size() - 1 - i]); in InsertCol() 391 aCol[nCol].SwapCol(aCol[nCol+1]); in DeleteCol() 414 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in DeleteArea() 1140 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in SetDirtyFromClip() 1152 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in StartListeningFormulaCells() 1356 aCol[i].CopyUpdated( pPosTab->aCol[i], pDestTab->aCol[i] ); in CopyUpdated() 1384 aCol[i].CopyScenarioFrom( pSrcTab->aCol[i] ); in CopyScenarioFrom() 1449 bOk = aCol[i].TestCopyScenarioTo( pDestTab->aCol[i] ); in TestCopyScenarioTo() 1680 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in ForgetNoteCaptions() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/data/ |
H A D | table1.cxx | 432 if ( nCol >= aCol.size() ) in GetOptimalColWidth() 445 if ( nCol >= aCol.size() ) in GetNeededSize() 634 while ( nMaxX>0 && aCol[nMaxX].IsVisibleAttrEqual(aCol[nMaxX+1]) ) in GetPrintArea() 648 … while ( nAttrEndX < (aCol.size()-1) && aCol[nAttrStartX].IsVisibleAttrEqual(aCol[nAttrEndX+1]) ) in GetPrintArea() 773 if ( aCol.size() > 1 && aCol[0].IsVisibleAttrEqual(aCol[1]) ) // no single ones in GetDataStart() 776 while ( nMinX<(aCol.size()-1) && aCol[nMinX].IsVisibleAttrEqual(aCol[nMinX-1]) ) in GetDataStart() 940 if ( nCol1 >= aCol.size() ) in GetDataAreaSubrange() 998 if (rEndCol >= aCol.size()) in ShrinkToUsedDataArea() 2425 if ( nCol >= aCol.size() ) in ResolveStaticReference() 2623 endIter = aCol.end(); in GetColumnsRange() [all …]
|
H A D | table2.cxx | 310 aCol[nCol].SwapCol(aCol[nCol-1]); in InsertCol() 315 aCol[aCol.size() - 1 - nSize - i].MoveTo(nStartRow, nEndRow, aCol[aCol.size() - 1 - i]); in InsertCol() 395 aCol[nCol].SwapCol(aCol[nCol+1]); in DeleteCol() 418 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in DeleteArea() 1283 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in SetDirtyFromClip() 1295 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in StartListeningFormulaCells() 1522 aCol[i].CopyUpdated( pPosTab->aCol[i], pDestTab->aCol[i] ); in CopyUpdated() 1551 aCol[i].CopyScenarioFrom( pSrcTab->aCol[i] ); in CopyScenarioFrom() 1616 bOk = aCol[i].TestCopyScenarioTo( pDestTab->aCol[i] ); in TestCopyScenarioTo() 1862 if ( nCol2 >= aCol.size() ) nCol2 = aCol.size() - 1; in ForgetNoteCaptions() [all …]
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/text/ |
H A D | GTextTable.php | 89 $this->_chkC($aCol); 100 $this->_chkC($aCol); 114 $this->_chkC($aCol); 152 $this->_chkC($aCol); 261 $this->_chkC($aCol); 270 $this->_chkC($aCol); 309 $this->_chkC($aCol); 318 $this->_chkC($aCol); 358 $this->_chkC($aCol); 688 $this->MergeCells(0, $aCol, $this->iSize[0] - 1, $aCol, $aHAlign, $aVAlign); [all …]
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/plot/ |
H A D | MeshInterpolate.php | 42 public function IntSquare($aRow, $aCol, $aFactor) argument 50 $v0 = $this->data[$aRow][$aCol]; 51 $v1 = $this->data[$aRow][$aCol + $step]; 52 $v2 = $this->data[$aRow + $step][$aCol]; 53 $v3 = $this->data[$aRow + $step][$aCol + $step]; 55 $this->data[$aRow][$aCol + $step / 2] = ($v0 + $v1) / 2; 56 $this->data[$aRow + $step / 2][$aCol] = ($v0 + $v2) / 2; 57 $this->data[$aRow + $step][$aCol + $step / 2] = ($v2 + $v3) / 2; 61 $this->IntSquare($aRow, $aCol, $aFactor - 1); 62 $this->IntSquare($aRow, $aCol + $step / 2, $aFactor - 1); [all …]
|
/dports/sysutils/loganalyzer/loganalyzer-4.1.12/src/classes/jpgraph/ |
H A D | jpgraph_meshinterpolate.inc.php | 38 function IntSquare( $aRow, $aCol, $aFactor ) { argument 44 $v0 = $this->data[$aRow][$aCol]; 45 $v1 = $this->data[$aRow][$aCol + $step]; 46 $v2 = $this->data[$aRow + $step][$aCol]; 47 $v3 = $this->data[$aRow + $step][$aCol + $step]; 49 $this->data[$aRow][$aCol + $step / 2] = ( $v0 + $v1 ) / 2; 50 $this->data[$aRow + $step / 2][$aCol] = ( $v0 + $v2 ) / 2; 51 $this->data[$aRow + $step][$aCol + $step / 2] = ( $v2 + $v3 ) / 2; 55 $this->IntSquare( $aRow, $aCol, $aFactor-1 ); 56 $this->IntSquare( $aRow, $aCol + $step / 2, $aFactor-1 ); [all …]
|
/dports/devel/upp/upp/bazaar/DXF/ |
H A D | DXFColorChooser.cpp | 107 if((aCol & 0xff0000) == 0x00) in DXFColorChooserDlg() 108 aCol |= 0x010000; in DXFColorChooserDlg() 131 int r = GetRValue(aCol); in SetLabels() 132 int g = GetGValue(aCol); in SetLabels() 133 int b = GetBValue(aCol); in SetLabels() 194 if((aCol & 0xff0000) == 0x00) in ChildMouseEvent() 195 aCol |= 0x010000; in ChildMouseEvent() 231 aCol |= 0x010000; in fillBig() 253 aCol |= 0x010000; in fillSmall() 281 if((aCol & 0xff0000) == 0x00) in Paint() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/common/ |
H A D | color4d_test_utils.h | 41 inline bool IsColorNear( const KIGFX::COLOR4D& aCol, const KIGFX::COLOR4D aOther, double aTol ) in IsColorNear() argument 43 return KI_TEST::IsWithin<double>( aCol.r, aOther.r, aTol ) in IsColorNear() 44 && KI_TEST::IsWithin<double>( aCol.g, aOther.g, aTol ) in IsColorNear() 45 && KI_TEST::IsWithin<double>( aCol.b, aOther.b, aTol ) in IsColorNear() 46 && KI_TEST::IsWithin<double>( aCol.a, aOther.a, aTol ); in IsColorNear() 52 inline bool IsColorNearHex( const KIGFX::COLOR4D& aCol, unsigned char r, unsigned char g, in IsColorNearHex() argument 57 return KI_TEST::IsWithin<double>( aCol.r, r / 255.0, tol ) in IsColorNearHex() 58 && KI_TEST::IsWithin<double>( aCol.g, g / 255.0, tol ) in IsColorNearHex() 59 && KI_TEST::IsWithin<double>( aCol.b, b / 255.0, tol ) in IsColorNearHex() 60 && KI_TEST::IsWithin<double>( aCol.a, a / 255.0, tol ); in IsColorNearHex()
|
/dports/editors/lazarus/examples/gridexamples/spreadsheet/ |
H A D | main.pas | 21 procedure gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 24 procedure gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; 43 procedure TForm1.gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 46 if Grid.Col<>aCol then 49 grid.InvalidateCell(aCol, 0); 60 procedure TForm1.gridDrawCell(Sender: TObject; aCol, aRow: Integer; 76 if (aCol=0) and (aRow>=Grid.FixedRows) then 82 if (aRow=0) and (aCol>=Grid.FixedCols) then 91 grid.DefaultDrawCell(aCol,aRow,aRect,aState); 94 procedure TForm1.gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; [all …]
|
/dports/editors/lazarus-devel/examples/gridexamples/spreadsheet/ |
H A D | main.pas | 21 procedure gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 24 procedure gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; 43 procedure TForm1.gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 46 if Grid.Col<>aCol then 49 grid.InvalidateCell(aCol, 0); 60 procedure TForm1.gridDrawCell(Sender: TObject; aCol, aRow: Integer; 76 if (aCol=0) and (aRow>=Grid.FixedRows) then 82 if (aRow=0) and (aCol>=Grid.FixedCols) then 91 grid.DefaultDrawCell(aCol,aRow,aRect,aState); 94 procedure TForm1.gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; [all …]
|
/dports/editors/lazarus-qt5/examples/gridexamples/spreadsheet/ |
H A D | main.pas | 21 procedure gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 24 procedure gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; 43 procedure TForm1.gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 46 if Grid.Col<>aCol then 49 grid.InvalidateCell(aCol, 0); 60 procedure TForm1.gridDrawCell(Sender: TObject; aCol, aRow: Integer; 76 if (aCol=0) and (aRow>=Grid.FixedRows) then 82 if (aRow=0) and (aCol>=Grid.FixedCols) then 91 grid.DefaultDrawCell(aCol,aRow,aRect,aState); 94 procedure TForm1.gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; [all …]
|
/dports/editors/lazarus-qt5-devel/examples/gridexamples/spreadsheet/ |
H A D | main.pas | 21 procedure gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 24 procedure gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; 43 procedure TForm1.gridBeforeSelection(Sender: TObject; aCol, aRow: Integer); 46 if Grid.Col<>aCol then 49 grid.InvalidateCell(aCol, 0); 60 procedure TForm1.gridDrawCell(Sender: TObject; aCol, aRow: Integer; 76 if (aCol=0) and (aRow>=Grid.FixedRows) then 82 if (aRow=0) and (aCol>=Grid.FixedCols) then 91 grid.DefaultDrawCell(aCol,aRow,aRect,aState); 94 procedure TForm1.gridPrepareCanvas(sender: TObject; aCol, aRow: Integer; [all …]
|
/dports/editors/lazarus/examples/gridexamples/columneditors/ |
H A D | main.pas | 54 procedure StringGrid1ButtonClick(Sender: TObject; aCol, aRow: integer); 57 procedure StringGrid1DrawCell(Sender: TObject; aCol, aRow: integer; 67 procedure StringGrid1ValidateEntry(Sender: TObject; aCol, aRow: integer; 161 if (aRow > 0) and (aCol = 1) then 179 if (aCol = 2) and ColorDialog1.Execute then //Button 185 if (aCol = 3) then //ButtonColumn 191 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].ButtonColumn; 195 if (aCol = 5) and CalculatorDialog1.Execute then //Ellipsis 200 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].Ellipsis; 205 aCol, aRow: integer; aState: TCheckboxState); [all …]
|
/dports/editors/lazarus-devel/examples/gridexamples/columneditors/ |
H A D | main.pas | 54 procedure StringGrid1ButtonClick(Sender: TObject; aCol, aRow: integer); 57 procedure StringGrid1DrawCell(Sender: TObject; aCol, aRow: integer; 67 procedure StringGrid1ValidateEntry(Sender: TObject; aCol, aRow: integer; 161 if (aRow > 0) and (aCol = 1) then 179 if (aCol = 2) and ColorDialog1.Execute then //Button 185 if (aCol = 3) then //ButtonColumn 191 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].ButtonColumn; 195 if (aCol = 5) and CalculatorDialog1.Execute then //Ellipsis 200 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].Ellipsis; 205 aCol, aRow: integer; aState: TCheckboxState); [all …]
|
/dports/editors/lazarus-qt5/examples/gridexamples/columneditors/ |
H A D | main.pas | 54 procedure StringGrid1ButtonClick(Sender: TObject; aCol, aRow: integer); 57 procedure StringGrid1DrawCell(Sender: TObject; aCol, aRow: integer; 67 procedure StringGrid1ValidateEntry(Sender: TObject; aCol, aRow: integer; 161 if (aRow > 0) and (aCol = 1) then 179 if (aCol = 2) and ColorDialog1.Execute then //Button 185 if (aCol = 3) then //ButtonColumn 191 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].ButtonColumn; 195 if (aCol = 5) and CalculatorDialog1.Execute then //Ellipsis 200 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].Ellipsis; 205 aCol, aRow: integer; aState: TCheckboxState); [all …]
|
/dports/editors/lazarus-qt5-devel/examples/gridexamples/columneditors/ |
H A D | main.pas | 54 procedure StringGrid1ButtonClick(Sender: TObject; aCol, aRow: integer); 57 procedure StringGrid1DrawCell(Sender: TObject; aCol, aRow: integer; 67 procedure StringGrid1ValidateEntry(Sender: TObject; aCol, aRow: integer; 161 if (aRow > 0) and (aCol = 1) then 179 if (aCol = 2) and ColorDialog1.Execute then //Button 185 if (aCol = 3) then //ButtonColumn 191 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].ButtonColumn; 195 if (aCol = 5) and CalculatorDialog1.Execute then //Ellipsis 200 StringGrid1.Cells[aCol, aRow] := ayMyInput[aRow - 1].Ellipsis; 205 aCol, aRow: integer; aState: TCheckboxState); [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/ |
H A D | BitmapMosaicFilter.cxx | 52 BitmapColor aCol; in execute() local 82 nSumR += aCol.GetRed(); in execute() 83 nSumG += aCol.GetGreen(); in execute() 84 nSumB += aCol.GetBlue(); in execute() 88 aCol.SetRed(static_cast<sal_uInt8>(nSumR * fArea_1)); in execute() 89 aCol.SetGreen(static_cast<sal_uInt8>(nSumG * fArea_1)); in execute() 90 aCol.SetBlue(static_cast<sal_uInt8>(nSumB * fArea_1)); in execute() 96 pWriteAcc->SetPixelOnData(pScanline, nX, aCol); in execute() 126 aCol.SetRed(static_cast<sal_uInt8>(nSumR * fArea_1)); in execute() 127 aCol.SetGreen(static_cast<sal_uInt8>(nSumG * fArea_1)); in execute() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/bitmap/ |
H A D | BitmapMosaicFilter.cxx | 53 BitmapColor aCol; in execute() local 83 nSumR += aCol.GetRed(); in execute() 84 nSumG += aCol.GetGreen(); in execute() 85 nSumB += aCol.GetBlue(); in execute() 89 aCol.SetRed(static_cast<sal_uInt8>(nSumR * fArea_1)); in execute() 90 aCol.SetGreen(static_cast<sal_uInt8>(nSumG * fArea_1)); in execute() 91 aCol.SetBlue(static_cast<sal_uInt8>(nSumB * fArea_1)); in execute() 97 pWriteAcc->SetPixelOnData(pScanline, nX, aCol); in execute() 127 aCol.SetRed(static_cast<sal_uInt8>(nSumR * fArea_1)); in execute() 128 aCol.SetGreen(static_cast<sal_uInt8>(nSumG * fArea_1)); in execute() [all …]
|
H A D | BitmapSolarizeFilter.cxx | 33 BitmapColor aCol(rPal[i]); in execute() local 34 aCol.Invert(); in execute() 35 pWriteAcc->SetPaletteColor(i, aCol); in execute() 41 BitmapColor aCol; in execute() local 50 aCol = pWriteAcc->GetPixelFromData(pScanline, nX); in execute() 52 if (aCol.GetLuminance() >= mcSolarGreyThreshold) in execute() 54 aCol.Invert(); in execute() 55 pWriteAcc->SetPixelOnData(pScanline, nX, aCol); in execute()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/autorouter/ |
H A D | ar_matrix.h | 65 void WriteCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ) in WriteCell() argument 67 ( *this.*m_opWriteCell )( aRow, aCol, aSide, aCell ); in WriteCell() 102 MATRIX_CELL GetCell( int aRow, int aCol, int aSide ); 103 void SetCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ); 104 void OrCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ); 105 void XorCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ); 106 void AndCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ); 107 void AddCell( int aRow, int aCol, int aSide, MATRIX_CELL aCell ); 108 DIST_CELL GetDist( int aRow, int aCol, int aSide ); 109 void SetDist( int aRow, int aCol, int aSide, DIST_CELL ); [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/helper/ |
H A D | canvasbitmap.cxx | 593 pColor[0] = aCol.GetRed(); in getIndex() 594 pColor[1] = aCol.GetGreen(); in getIndex() 595 pColor[2] = aCol.GetBlue(); in getIndex() 1061 const BitmapColor aCol = in convertIntegerToRGB() local 1078 const BitmapColor aCol = in convertIntegerToRGB() local 1226 aCol; in convertIntegerFromRGB() 1244 aCol; in convertIntegerFromRGB() 1275 aCol; in convertIntegerFromARGB() 1293 aCol; in convertIntegerFromARGB() 1325 aCol; in convertIntegerFromPARGB() [all …]
|