OSDN Git Service

remove unused int_dim() macro
authorIvailo Monev <xakepa10@laimg.moc>
Fri, 3 Apr 2020 21:30:32 +0000 (21:30 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Fri, 3 Apr 2020 21:30:32 +0000 (21:30 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/painting/qpaintengine_raster.cpp

index 00bd8fe..2cac593 100644 (file)
@@ -68,12 +68,6 @@ void dumpClip(int width, int height, const QClipData *clip);
 
 #define QT_FAST_SPANS
 
-
-// A little helper macro to get a better approximation of dimensions.
-// If we have a rect that starting at 0.5 of width 3.5 it should span
-// 4 pixels.
-#define int_dim(pos, dim) (int(pos+dim) - int(pos))
-
 /********************************************************************************
  * Span functions
  */