mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:32:44 +00:00 
			
		
		
		
	LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
This commit is contained in:
		
							parent
							
								
									656b01eb0f
								
							
						
					
					
						commit
						116cf92156
					
				
					 212 changed files with 1144 additions and 1144 deletions
				
			
		|  | @ -60,8 +60,8 @@ void SampleWidget::paint_event(GUI::PaintEvent& event) | |||
|             ++count; | ||||
| 
 | ||||
|             if (count >= samples_per_pixel) { | ||||
|                 Gfx::Point min_point = { x, y_offset + static_cast<int>(-sample_max * frame_inner_rect().height() / 2) }; | ||||
|                 Gfx::Point max_point = { x++, y_offset + static_cast<int>(sample_max * frame_inner_rect().height() / 2) }; | ||||
|                 Gfx::IntPoint min_point = { x, y_offset + static_cast<int>(-sample_max * frame_inner_rect().height() / 2) }; | ||||
|                 Gfx::IntPoint max_point = { x++, y_offset + static_cast<int>(sample_max * frame_inner_rect().height() / 2) }; | ||||
|                 painter.draw_line(min_point, max_point, Color::Green); | ||||
| 
 | ||||
|                 count = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling