Home
last modified time | relevance | path

Searched refs:resWidth (Results 1 – 25 of 51) sorted by relevance

123

/dports/biology/emboss/EMBOSS-6.6.0/jemboss/org/emboss/jemboss/editor/
H A DSequenceJPanel.java52 protected int resWidth; field in SequenceJPanel
365 istart = viewRect.x/resWidth; in paintComponent()
394 int ipos = i*resWidth; in paintComponent()
473 g.drawLine(ipos+resWidth,0,ipos+resWidth,seqHeight); in prettyDraw()
481 g.drawLine(ipos+resWidth,0,ipos+resWidth,seqHeight); in prettyDraw()
644 int x = (int)((loc.x+resWidth)/resWidth)*resWidth; in getToolTipLocation()
645 int y = seqHeight-(resWidth/2); in getToolTipLocation()
741 return resWidth; in getResidueWidth()
822 return resWidth*seqLength; in getSequenceWidth()
834 return resWidth; in getSequenceResidueWidth()
[all …]
H A DGraphicSequenceCollection.java1000 int resWidth = ((SequenceJPanel)graphicSequence.get(0)). in findPattern() local
1004 int xpos = r.x/resWidth; in findPattern()
1005 int viewWidth = r.width/resWidth; in findPattern()
1026 new Point(mid*resWidth,ypos)); in findPattern()
1040 new Point(mid*resWidth,ypos)); in findPattern()
1214 int resWidth = ((SequenceJPanel)graphicSequence.get(0)).getSequenceResidueWidth(); in getResiduesPerLine() local
1215 return (int)(pwidth/(double)resWidth); in getResiduesPerLine()
/dports/cad/xcircuit/xcircuit-3.10.30/Xw/
H A DDisplay.c272 *resWidth = 0;
278 *resWidth += CharWidth(data, fromx + *resWidth, margin, SP);
282 *resWidth += CharWidth(data, fromx + *resWidth, margin, c);
325 *resWidth = 0;
360 *resWidth += CharWidth(data, fromx + *resWidth, margin, c);
369 *resWidth = lastWidth ;
422 *resWidth = 0;
426 lastWidth = *resWidth;
431 *resWidth += CharWidth(data, fromx + *resWidth, margin, SP);
435 *resWidth += CharWidth(data, fromx + *resWidth, margin, c);
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sky/
H A Dgrid.cpp162 bool Grid::getGridValues(Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth) { in getGridValues() argument
164 return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resGrid, resBitNum, resWidth); in getGridValues()
167 …t32 x, uint32 y, uint32 width, Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth) { in getGridValues() argument
202 *resWidth = width; in getGridValues()
241 uint32 resBitPos, resWidth; in plotGrid() local
243 if (getGridValues(x, y, width-1, cpt, &resGridIdx, &resBitPos, &resWidth)) in plotGrid()
244 objectToWalk(resGridIdx, resBitPos, resWidth); in plotGrid()
248 uint32 resBitPos, resWidth; in removeGrid() local
250 if (getGridValues(x, y, width, cpt, &resGridIdx, &resBitPos, &resWidth)) in removeGrid()
251 removeObjectFromWalk(resGridIdx, resBitPos, resWidth); in removeGrid()
H A Dgrid.h57 bool getGridValues(Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth);
58 …nt32 x, uint32 y, uint32 width, Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth);
/dports/games/scummvm/scummvm-2.5.1/engines/sky/
H A Dgrid.cpp162 bool Grid::getGridValues(Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth) { in getGridValues() argument
164 return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resGrid, resBitNum, resWidth); in getGridValues()
167 …t32 x, uint32 y, uint32 width, Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth) { in getGridValues() argument
202 *resWidth = width; in getGridValues()
241 uint32 resBitPos, resWidth; in plotGrid() local
243 if (getGridValues(x, y, width-1, cpt, &resGridIdx, &resBitPos, &resWidth)) in plotGrid()
244 objectToWalk(resGridIdx, resBitPos, resWidth); in plotGrid()
248 uint32 resBitPos, resWidth; in removeGrid() local
250 if (getGridValues(x, y, width, cpt, &resGridIdx, &resBitPos, &resWidth)) in removeGrid()
251 removeObjectFromWalk(resGridIdx, resBitPos, resWidth); in removeGrid()
H A Dgrid.h57 bool getGridValues(Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth);
58 …nt32 x, uint32 y, uint32 width, Compact *cpt, uint8 *resGrid, uint32 *resBitNum, uint32 *resWidth);
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/global/
H A Dmetrics.cpp30 void Metrics::reload(int resWidth, int resHeight) { in reload() argument
32 metrics->reloadData(resWidth, resHeight); in reload()
35 void Metrics::reloadData(int resWidth, int resHeight) { in reloadData() argument
41 if(resWidth > 0) { in reloadData()
42 screenW= resWidth; in reloadData()
H A Dmetrics.h47 void reloadData(int resWidth=-1, int resHeight=-1);
72 static void reload(int resWidth=-1, int resHeight=-1);
/dports/x11-toolkits/Xaw3d/xc/lib/Xaw3d/
H A DTextSink.c330 resPos, resWidth, resHeight) in FindPosition() argument
336 int *resWidth, *resHeight;
339 *resHeight = *resWidth = 0;
361 int *resWidth;
365 *resWidth = *resHeight = 0;
603 resPos, resWidth, resHeight) in XawTextSinkFindPosition()
609 int *resWidth, *resHeight;
616 resPos, resWidth, resHeight);
635 XawTextPosition toPos, int *resWidth, in XawTextSinkFindDistance() argument
641 int fromx, *resWidth, *resHeight;
[all …]
H A DAsciiSink.c396 *resWidth = 0;
401 *resWidth += CharWidth(w, fromx + *resWidth, c);
414 resPos, resWidth, resHeight) in FindPosition() argument
422 int *resWidth; /* Actual width used. */
437 *resWidth = 0;
441 lastWidth = *resWidth;
445 *resWidth += CharWidth(w, fromx + *resWidth, c);
450 whiteSpaceWidth = *resWidth;
458 *resWidth = lastWidth;
462 *resWidth = whiteSpaceWidth;
[all …]
H A DMultiSink.c427 *resWidth = 0;
432 *resWidth += CharWidth(w, fromx + *resWidth, c);
452 int* resWidth; /* Actual width used. */
468 *resWidth = 0;
472 lastWidth = *resWidth;
476 *resWidth += CharWidth(w, fromx + *resWidth, c);
479 *resWidth <= width) {
482 whiteSpaceWidth = *resWidth;
490 *resWidth = lastWidth;
494 *resWidth = whiteSpaceWidth;
[all …]
/dports/x11-toolkits/neXtaw/neXtaw-0.15.1/X11/neXtaw/
H A DTextSink.c331 resPos, resWidth, resHeight) in FindPosition() argument
337 int *resWidth, *resHeight;
340 *resHeight = *resWidth = 0;
362 int *resWidth;
366 *resWidth = *resHeight = 0;
597 resPos, resWidth, resHeight) in XawTextSinkFindPosition()
603 int *resWidth, *resHeight;
610 resPos, resWidth, resHeight);
629 XawTextPosition toPos, int *resWidth, in XawTextSinkFindDistance() argument
635 int fromx, *resWidth, *resHeight;
[all …]
H A DMultiSink.c430 *resWidth = 0;
435 *resWidth += CharWidth(w, fromx + *resWidth, c);
455 int* resWidth; /* Actual width used. */
471 *resWidth = 0;
475 lastWidth = *resWidth;
479 *resWidth += CharWidth(w, fromx + *resWidth, c);
482 *resWidth <= width) {
485 whiteSpaceWidth = *resWidth;
493 *resWidth = lastWidth;
497 *resWidth = whiteSpaceWidth;
[all …]
H A DAsciiSink.c401 *resWidth = 0;
406 *resWidth += CharWidth(w, fromx + *resWidth, c);
419 resPos, resWidth, resHeight) in FindPosition() argument
427 int *resWidth; /* Actual width used. */
442 *resWidth = 0;
446 lastWidth = *resWidth;
450 *resWidth += CharWidth(w, fromx + *resWidth, c);
455 whiteSpaceWidth = *resWidth;
463 *resWidth = lastWidth;
467 *resWidth = whiteSpaceWidth;
[all …]
/dports/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2h/src/
H A DMultiSink.c412 *resWidth = 0; in FindDistance()
417 *resWidth += CharWidth(w, fromx + *resWidth, c); in FindDistance()
446 *resWidth = 0; in FindPosition()
450 lastWidth = *resWidth; in FindPosition()
454 *resWidth += CharWidth(w, fromx + *resWidth, c); in FindPosition()
457 *resWidth <= width) { in FindPosition()
460 whiteSpaceWidth = *resWidth; in FindPosition()
467 if (*resWidth > width && index > fromPos) { in FindPosition()
468 *resWidth = lastWidth; in FindPosition()
472 *resWidth = whiteSpaceWidth; in FindPosition()
[all …]
H A DAsciiSink.c471 *resWidth = 0; in FindDistance()
476 *resWidth += CharWidth(w, fromx + *resWidth, c, &len); in FindDistance()
498 int *resWidth, /* Actual width used. */ in FindPosition() argument
514 *resWidth = 0; in FindPosition()
519 lastWidth = *resWidth; in FindPosition()
523 *resWidth += CharWidth(w, fromx + *resWidth, c, &len); in FindPosition()
528 whiteSpaceWidth = *resWidth; in FindPosition()
536 if (*resWidth > width && index > fromPos) { in FindPosition()
537 *resWidth = lastWidth; in FindPosition()
541 *resWidth = whiteSpaceWidth; in FindPosition()
[all …]
H A DTextSink.c327 XawTextPosition *resPos, int *resWidth, int *resHeight) in FindPosition() argument
330 *resHeight = *resWidth = 0; in FindPosition()
348 int *resWidth, XawTextPosition *resPos, int *resHeight) in FindDistance() argument
350 *resWidth = *resHeight = 0; in FindDistance()
549 XawTextPosition *resPos, int *resWidth, int *resHeight) in XawTextSinkFindPosition() argument
555 resPos, resWidth, resHeight); in XawTextSinkFindPosition()
573 XawTextPosition toPos, int *resWidth, in XawTextSinkFindDistance() argument
579 resWidth, resPos, resHeight); in XawTextSinkFindDistance()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv2/GKComponents/GKUI/Components/
H A DLogChart.cs143 int resWidth = 0; in UpdateContents()
149 resWidth = resWidth + frag.Width; in UpdateContents()
153 int d = wid - resWidth; in UpdateContents()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GKComponents/GKUI/Components/
H A DLogChart.cs134 int resWidth = 0; in UpdateContents()
140 resWidth = resWidth + frag.Width; in UpdateContents()
144 int d = wid - resWidth; in UpdateContents()
/dports/graphics/pear-Horde_Image/Horde_Image-2.6.1/lib/Horde/Image/Effect/Im/
H A DLiquidResize.php42 $resWidth = $this->_params->width * 2;
45 $this->_image->addOperation("-size {$resWidth}x{$resHeight}");
/dports/graphics/krita/krita-4.4.8/plugins/extensions/modify_selection/
H A Ddlg_border_selection.cc69 … const double resWidth = (selectedUnit == KoUnit(KoUnit::Pixel)) ? width : (width * m_resolution); in slotWidthChanged() local
70 m_width = qRound(selectedUnit.fromUserValue(resWidth)); in slotWidthChanged()
/dports/misc/openvdb/openvdb-9.0.0/nanovdb/nanovdb/cmd/print/
H A Dnanovdb_print.cc174 auto resWidth = std::string("Resolution").length() + padding; in main() local
182 width(resWidth, resToStr(m.indexBBox)); in main()
209 << std::left << std::setw(resWidth) << "Resolution"; in main()
233 << std::left << std::setw(resWidth) << resToStr(m.indexBBox); in main()
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/sources/platform/sdl/
H A Dwindow_gl.cpp132 bool WindowGl::ChangeVideoMode(bool preserveContext, int resWidth, int resHeight, in ChangeVideoMode() argument
183 this->setSize(resWidth, resHeight); in ChangeVideoMode()
/dports/x11-toolkits/libXaw/libXaw-1.0.14/src/
H A DMultiSink.c546 XawTextPosition toPos, int *resWidth, in FindDistance() argument
577 *resWidth = rWidth; in FindDistance()
583 Bool stopAtWordBreak, XawTextPosition *resPos, int *resWidth, in FindPosition() argument
638 *resWidth = rWidth; in FindPosition()
646 int resWidth, resHeight; in Resolve() local
649 FindPosition(w, pos, fromx, width, False, pos_return, &resWidth, &resHeight); in Resolve()

123