/dports/editors/lazarus/lazarus/designer/ |
H A D | noncontroldesigner.pas | 167 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 171 if NewWidth<=0 then NewWidth:=Width; 182 NewWidth:=Max(20,Min(NewWidth,Screen.Width-50)); 184 NewLeft:=Max(0,Min(NewLeft,Screen.Width-NewWidth-50)); 195 NewWidth, NewHeight: Integer; 206 NewWidth := CurDataModule.DesignSize.X; 209 SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight); 215 NewWidth:=NewBounds.Right-NewBounds.Left; 220 NewWidth:=NewClientRect.Right-NewClientRect.Left+Width-ClientWidth; 225 NewWidth:=Width; [all …]
|
H A D | framedesigner.pas | 141 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 145 if NewWidth <= 0 then NewWidth := Width; 155 NewWidth := Max(20, Min(NewWidth, Screen.Width - 50)); 158 SetPublishedBounds(NewLeft, NewTop, NewWidth, NewHeight);
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/designer/ |
H A D | noncontroldesigner.pas | 171 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 175 if NewWidth<=0 then NewWidth:=Width; 186 NewWidth:=Max(20,Min(NewWidth,Screen.Width-50)); 188 NewLeft:=Max(0,Min(NewLeft,Screen.Width-NewWidth-50)); 199 NewWidth, NewHeight: Integer; 210 NewWidth := CurDataModule.DesignSize.X; 213 SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight); 219 NewWidth:=NewBounds.Right-NewBounds.Left; 224 NewWidth:=NewClientRect.Right-NewClientRect.Left+Width-ClientWidth; 229 NewWidth:=Width; [all …]
|
H A D | framedesigner.pas | 144 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 148 if NewWidth <= 0 then NewWidth := Width; 158 NewWidth := Max(20, Min(NewWidth, Screen.Width - 50)); 161 SetPublishedBounds(NewLeft, NewTop, NewWidth, NewHeight);
|
/dports/editors/lazarus-qt5/lazarus/designer/ |
H A D | noncontroldesigner.pas | 167 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 171 if NewWidth<=0 then NewWidth:=Width; 182 NewWidth:=Max(20,Min(NewWidth,Screen.Width-50)); 184 NewLeft:=Max(0,Min(NewLeft,Screen.Width-NewWidth-50)); 195 NewWidth, NewHeight: Integer; 206 NewWidth := CurDataModule.DesignSize.X; 209 SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight); 215 NewWidth:=NewBounds.Right-NewBounds.Left; 220 NewWidth:=NewClientRect.Right-NewClientRect.Left+Width-ClientWidth; 225 NewWidth:=Width; [all …]
|
H A D | framedesigner.pas | 141 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 145 if NewWidth <= 0 then NewWidth := Width; 155 NewWidth := Max(20, Min(NewWidth, Screen.Width - 50)); 158 SetPublishedBounds(NewLeft, NewTop, NewWidth, NewHeight);
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/designer/ |
H A D | noncontroldesigner.pas | 171 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 175 if NewWidth<=0 then NewWidth:=Width; 186 NewWidth:=Max(20,Min(NewWidth,Screen.Width-50)); 188 NewLeft:=Max(0,Min(NewLeft,Screen.Width-NewWidth-50)); 199 NewWidth, NewHeight: Integer; 210 NewWidth := CurDataModule.DesignSize.X; 213 SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight); 219 NewWidth:=NewBounds.Right-NewBounds.Left; 224 NewWidth:=NewClientRect.Right-NewClientRect.Left+Width-ClientWidth; 229 NewWidth:=Width; [all …]
|
H A D | framedesigner.pas | 144 procedure SetNewBounds(NewLeft, NewTop, NewWidth, NewHeight: integer); 148 if NewWidth <= 0 then NewWidth := Width; 158 NewWidth := Max(20, Min(NewWidth, Screen.Width - 50)); 161 SetPublishedBounds(NewLeft, NewTop, NewWidth, NewHeight);
|
/dports/cad/alliance/alliance/src/graal/src/ |
H A D | GMC_dialog.c | 312 float NewWidth; local 330 NewWidth = atof( WidthSet ); 331 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); 335 GraalSegmentWidth = NewWidth; 470 float NewWidth; local 488 NewWidth = atof( WidthSet ); 489 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); 628 float NewWidth; local 646 NewWidth = atof( WidthSet ); 647 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); [all …]
|
H A D | GME_dialog.c | 416 float NewWidth; local 432 NewWidth = atof( WidthSet ); 433 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); 437 GraalSegmentMWidth = NewWidth; 555 float NewWidth; local 571 NewWidth = atof( WidthSet ); 572 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); 687 float NewWidth; local 703 NewWidth = atof( WidthSet ); 704 NewWidth = (float)( (long)( NewWidth * Factor / 2.0 ) * 2 / Factor ); [all …]
|
/dports/graphics/photivo/photivo/Sources/ |
H A D | ptImage_GMC.cpp | 230 uint16_t NewWidth = MagickGetImageWidth(image); in ptGMCOpenImage() local 235 ImageBuffer.resize((size_t) NewWidth*NewHeight); in ptGMCOpenImage() 237 …MagickGetImagePixels(image, 0, 0, NewWidth, NewHeight, "RGB", FloatPixel, (uchar*)ImageBuffer.data… in ptGMCOpenImage() 239 m_Width = NewWidth; in ptGMCOpenImage() 248 NewWidth >>= ScaleFactor; in ptGMCOpenImage() 253 NewImage.resize((size_t)NewWidth*NewHeight); in ptGMCOpenImage() 257 for (uint16_t Col=0; Col < NewWidth*Step; Col+=Step) { in ptGMCOpenImage() 268 NewImage[Row/Step*NewWidth+Col/Step][c] in ptGMCOpenImage() 277 m_Width = NewWidth; in ptGMCOpenImage() 350 for (uint16_t Col=0; Col<NewWidth; Col++) { in ptGMCOpenImage() [all …]
|
H A D | ptImage_GM.cpp | 368 uint16_t NewWidth = 0; in ptGMResize() local 376 NewWidth = Size; in ptGMResize() 379 NewWidth = Width/(double)Height*Size+0.5; in ptGMResize() 382 NewWidth = Size; in ptGMResize() 433 QString TempString = QString::number(NewWidth) + "x" + QString::number(NewHeight) + "!"; in ptGMResize() 445 ptImage* ptImage::ptGMResizeWH(const uint16_t NewWidth, in ptGMResizeWH() argument 451 if (Width == NewWidth && Height == NewHeight) return this; in ptGMResizeWH() 500 QString TempString = QString::number(NewWidth) + "x" + QString::number(NewHeight) + "!"; in ptGMResizeWH()
|
H A D | ptImage_Cimg.cpp | 178 uint16_t NewWidth = 0, NewHeight = 0; in ptCIPerspective() local 195 NewWidth = m_Height; in ptCIPerspective() 199 for (int32_t x=0; x<NewWidth; x++) { in ptCIPerspective() 208 NewWidth = m_Width; in ptCIPerspective() 212 for (int32_t x=0; x<NewWidth; x++) { in ptCIPerspective() 221 NewWidth = m_Height; in ptCIPerspective() 225 for (int32_t x=0; x<NewWidth; x++) { in ptCIPerspective() 311 NewWidth = (int32_t) x_pers; in ptCIPerspective() 313 TempData.resize((size_t) NewWidth*NewHeight); in ptCIPerspective() 318 int32_t Temp = Row*NewWidth; in ptCIPerspective() [all …]
|
/dports/games/burrtools/burrtools-0.6.3/src/gui/ |
H A D | arcball.h | 32 virtual void setBounds(float NewWidth, float NewHeight) = 0; 77 arcBall_c(float NewWidth, float NewHeight); 79 void setBounds(float NewWidth, float NewHeight); 114 method2_c(float NewWidth, float NewHeight); 116 void setBounds(float NewWidth, float NewHeight);
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/ |
H A D | bgraresample.pas | 110 Result := bmp.NewBitmap(NewWidth, NewHeight); 254 targetRect := rect(0,0,NewWidth,NewHeight); 290 horizSlightlyDifferent := (NewWidth > bmp.Width*2 div 3) and (NewWidth < bmp.Width*4 div 3); 311 acc_x_src := acc_x_src mod NewWidth; 318 if acc_x_src2 > NewWidth then 320 dec(acc_x_src2, NewWidth); 1272 if NewWidth < bmp.Width then 1288 if NewWidth > bmp.Width then 1462 …mapX := BuildMappingTable(0,NewWidth,0,NewWidth,0,bmp.Width,ResampleFilterSmaller,ResampleFilterLa… 1466 MapXHiPos := MapX[NewWidth - 1][High(MapX[NewWidth - 1])].Pos; [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/ |
H A D | bgraresample.pas | 110 Result := bmp.NewBitmap(NewWidth, NewHeight); 254 targetRect := rect(0,0,NewWidth,NewHeight); 290 horizSlightlyDifferent := (NewWidth > bmp.Width*2 div 3) and (NewWidth < bmp.Width*4 div 3); 311 acc_x_src := acc_x_src mod NewWidth; 318 if acc_x_src2 > NewWidth then 320 dec(acc_x_src2, NewWidth); 1272 if NewWidth < bmp.Width then 1288 if NewWidth > bmp.Width then 1462 …mapX := BuildMappingTable(0,NewWidth,0,NewWidth,0,bmp.Width,ResampleFilterSmaller,ResampleFilterLa… 1466 MapXHiPos := MapX[NewWidth - 1][High(MapX[NewWidth - 1])].Pos; [all …]
|
/dports/editors/lazarus/lazarus/components/lazcontrols/ |
H A D | extendedtabcontrols.pas | 633 NewTop, NewHeight, NewLeft, NewWidth, TBOffs: LongInt; 670 NewWidth := TabControl.ClientWidth; 675 NewWidth := Max(TabControl.ClientWidth div 2, NewWidth - FToolBar.Width); 683 NoteBook.SetBounds(NewLeft, NewTop, NewWidth ,NewHeight); 688 NewWidth := TabControl.TabWidth; 689 if NewWidth<=0 then 690 NewWidth:=NoteBook.GetMinimumTabWidth; 691 NewWidth:=Min(TabControl.ClientWidth,NewWidth); 696 FToolBar.Constraints.MaxWidth := Max(0, NewWidth-2); 697 FToolBar.Constraints.MinWidth := Max(0, NewWidth-2); [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazcontrols/ |
H A D | extendedtabcontrols.pas | 633 NewTop, NewHeight, NewLeft, NewWidth, TBOffs: LongInt; 670 NewWidth := TabControl.ClientWidth; 675 NewWidth := Max(TabControl.ClientWidth div 2, NewWidth - FToolBar.Width); 683 NoteBook.SetBounds(NewLeft, NewTop, NewWidth ,NewHeight); 688 NewWidth := TabControl.TabWidth; 689 if NewWidth<=0 then 690 NewWidth:=NoteBook.GetMinimumTabWidth; 691 NewWidth:=Min(TabControl.ClientWidth,NewWidth); 696 FToolBar.Constraints.MaxWidth := Max(0, NewWidth-2); 697 FToolBar.Constraints.MinWidth := Max(0, NewWidth-2); [all …]
|
/dports/editors/lazarus-qt5/lazarus/components/lazcontrols/ |
H A D | extendedtabcontrols.pas | 633 NewTop, NewHeight, NewLeft, NewWidth, TBOffs: LongInt; 670 NewWidth := TabControl.ClientWidth; 675 NewWidth := Max(TabControl.ClientWidth div 2, NewWidth - FToolBar.Width); 683 NoteBook.SetBounds(NewLeft, NewTop, NewWidth ,NewHeight); 688 NewWidth := TabControl.TabWidth; 689 if NewWidth<=0 then 690 NewWidth:=NoteBook.GetMinimumTabWidth; 691 NewWidth:=Min(TabControl.ClientWidth,NewWidth); 696 FToolBar.Constraints.MaxWidth := Max(0, NewWidth-2); 697 FToolBar.Constraints.MinWidth := Max(0, NewWidth-2); [all …]
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazcontrols/ |
H A D | extendedtabcontrols.pas | 633 NewTop, NewHeight, NewLeft, NewWidth, TBOffs: LongInt; 670 NewWidth := TabControl.ClientWidth; 675 NewWidth := Max(TabControl.ClientWidth div 2, NewWidth - FToolBar.Width); 683 NoteBook.SetBounds(NewLeft, NewTop, NewWidth ,NewHeight); 688 NewWidth := TabControl.TabWidth; 689 if NewWidth<=0 then 690 NewWidth:=NoteBook.GetMinimumTabWidth; 691 NewWidth:=Min(TabControl.ClientWidth,NewWidth); 696 FToolBar.Constraints.MaxWidth := Max(0, NewWidth-2); 697 FToolBar.Constraints.MinWidth := Max(0, NewWidth-2); [all …]
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/ |
H A D | texture.cpp | 252 for(i=0;i<NewWidth;i++) in Extract() 259 m_Width = NewWidth; in Extract() 283 int NewWidth = 2*m_Width; in DuplicateMirror() local 305 for(i=0;i<NewWidth/2;i++) in DuplicateMirror() 311 for(i=NewWidth/2;i<NewWidth;i++) in DuplicateMirror() 317 for(i=0;i<NewWidth/2;i++) in DuplicateMirror() 323 for(i=NewWidth/2;i<NewWidth;i++) in DuplicateMirror() 330 m_Width = NewWidth; in DuplicateMirror() 355 int NewWidth = 2*m_Width; in DuplicateRepeatWidth() local 381 for(i=NewWidth/2;i<NewWidth;i++) in DuplicateRepeatWidth() [all …]
|
/dports/misc/estic/estic-1.61_10/spunk/ |
H A D | menuitem.cc | 282 if (NewWidth < MinWidth ()) { in SetWidth() 288 ItemWidth = NewWidth; in SetWidth() 440 if (NewWidth < MinWidth ()) { in SetWidth() 446 ItemWidth = NewWidth; in SetWidth() 604 if (NewWidth < MinW) { in SetWidth() 610 ItemWidth = NewWidth; in SetWidth() 863 if (NewWidth < WMin) { in SetWidth() 869 ItemWidth = NewWidth; in SetWidth() 1121 ItemWidth = NewWidth; in SetWidth() 1286 ItemWidth = NewWidth; in SetWidth() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/menu/ |
H A D | videomenu.cpp | 72 extern int NewWidth, NewHeight, NewBits; 164 if (!GetSelectedSize (&NewWidth, &NewHeight)) in Responder() 166 NewWidth = SCREENWIDTH; in Responder() 178 SetModesMenu (NewWidth, NewHeight, NewBits); in Responder() 289 NewWidth = OldWidth; in M_RestoreMode() 386 if (!GetSelectedSize (&NewWidth, &NewHeight)) in M_SetVideoMode() 388 NewWidth = SCREENWIDTH; in M_SetVideoMode() 397 SetModesMenu (NewWidth, NewHeight, NewBits); in M_SetVideoMode()
|
/dports/cad/impact/Impact/src/j3d/ |
H A D | ArcBall.java | 21 public ArcBall(float NewWidth, float NewHeight) { in ArcBall() argument 24 setBounds(NewWidth, NewHeight); in ArcBall() 57 public void setBounds(float NewWidth, float NewHeight) { in setBounds() argument 61 adjustWidth = 1.0f / ((NewWidth - 1.0f) * 0.5f); in setBounds()
|
/dports/editors/cudatext/CudaText-1.151.0/comp/ |
H A D | atimagebox.pas | 477 NewWidth, NewHeight, NewLeft, NewTop, 531 NewWidth:= PicWidth; 552 NewWidth:= Trunc(NewHeight * NImageRatio); 562 NewWidth:= CliWidth; 572 NewWidth:= Round(PicWidth * FImageZoom / 100); 582 if CliWidth > NewWidth then 583 NewLeft:= (CliWidth - NewWidth) div 2; 590 (FOldWidth<>NewWidth) or 595 FOldWidth:= NewWidth; 609 ScrollMaxX:= Max(NewWidth - CliWidth, 0); [all …]
|