Changeset View
Changeset View
Standalone View
Standalone View
pixmapfx/kpPixmapFX_Transforms.cpp
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Line(s) | 136 | #if DEBUG_KP_PIXMAP_FX | |||
---|---|---|---|---|---|
145 | if (w > 0 && h > 0) | 145 | if (w > 0 && h > 0) | ||
146 | { | 146 | { | ||
147 | qCDebug(kpLogPixmapfx) << "(0,0) ->" << matrix.map (QPoint (0, 0)); | 147 | qCDebug(kpLogPixmapfx) << "(0,0) ->" << matrix.map (QPoint (0, 0)); | ||
148 | qCDebug(kpLogPixmapfx) << "(w-1,0) ->" << matrix.map (QPoint (w - 1, 0)); | 148 | qCDebug(kpLogPixmapfx) << "(w-1,0) ->" << matrix.map (QPoint (w - 1, 0)); | ||
149 | qCDebug(kpLogPixmapfx) << "(0,h-1) ->" << matrix.map (QPoint (0, h - 1)); | 149 | qCDebug(kpLogPixmapfx) << "(0,h-1) ->" << matrix.map (QPoint (0, h - 1)); | ||
150 | qCDebug(kpLogPixmapfx) << "(w-1,h-1) ->" << matrix.map (QPoint (w - 1, h - 1)); | 150 | qCDebug(kpLogPixmapfx) << "(w-1,h-1) ->" << matrix.map (QPoint (w - 1, h - 1)); | ||
151 | } | 151 | } | ||
152 | 152 | | |||
153 | #if 0 | | |||
154 | QMatrix trueMatrix = QPixmap::trueMatrix (matrix, w, h); | | |||
155 | qCDebug(kpLogPixmapfx) << matrixName << "trueMatrix=" << trueMatrix; | | |||
156 | if (w > 0 && h > 0) | | |||
157 | { | | |||
158 | qCDebug(kpLogPixmapfx) << "(0,0) ->" << trueMatrix.map (QPoint (0, 0)); | | |||
159 | qCDebug(kpLogPixmapfx) << "(w-1,0) ->" << trueMatrix.map (QPoint (w - 1, 0)); | | |||
160 | qCDebug(kpLogPixmapfx) << "(0,h-1) ->" << trueMatrix.map (QPoint (0, h - 1)); | | |||
161 | qCDebug(kpLogPixmapfx) << "(w-1,h-1) ->" << trueMatrix.map (QPoint (w - 1, h - 1)); | | |||
162 | } | | |||
163 | #endif | | |||
164 | | ||||
165 | #else | 153 | #else | ||
166 | 154 | | |||
167 | Q_UNUSED (matrixName); | 155 | Q_UNUSED (matrixName); | ||
168 | Q_UNUSED (matrix); | 156 | Q_UNUSED (matrix); | ||
169 | Q_UNUSED (srcPixmapWidth); | 157 | Q_UNUSED (srcPixmapWidth); | ||
170 | Q_UNUSED (srcPixmapHeight); | 158 | Q_UNUSED (srcPixmapHeight); | ||
171 | 159 | | |||
172 | #endif // DEBUG_KP_PIXMAP_FX | 160 | #endif // DEBUG_KP_PIXMAP_FX | ||
▲ Show 20 Lines • Show All 502 Lines • Show Last 20 Lines |