equal
deleted
inserted
replaced
174 return (dotsPerMeterY() * 254) / 10000; // 0.0254 meters-per-inch |
174 return (dotsPerMeterY() * 254) / 10000; // 0.0254 meters-per-inch |
175 case QPaintDevice::PdmDepth: |
175 case QPaintDevice::PdmDepth: |
176 return QDirectFBScreen::depth(imageFormat); |
176 return QDirectFBScreen::depth(imageFormat); |
177 case QPaintDevice::PdmNumColors: { |
177 case QPaintDevice::PdmNumColors: { |
178 if (!lockedImage.isNull()) |
178 if (!lockedImage.isNull()) |
179 return lockedImage.numColors(); |
179 return lockedImage.colorCount(); |
180 |
180 |
181 DFBResult result; |
181 DFBResult result; |
182 IDirectFBPalette *palette = 0; |
182 IDirectFBPalette *palette = 0; |
183 unsigned int numColors = 0; |
183 unsigned int numColors = 0; |
184 |
184 |