equal
deleted
inserted
replaced
51 * Calculate snapshot size based on diplay size and image / video output resolution. |
51 * Calculate snapshot size based on diplay size and image / video output resolution. |
52 * @param displaySize Display size in pixels. |
52 * @param displaySize Display size in pixels. |
53 * @param outputResolution Resolution of the output image / video in pixels. |
53 * @param outputResolution Resolution of the output image / video in pixels. |
54 * @return Proposed best snapshot size. |
54 * @return Proposed best snapshot size. |
55 */ |
55 */ |
56 QSize CxeSnapshotControl::calculateSnapshotSize(const QSize& displaySize, const QSize& outputResolution) const |
56 QSize CxeSnapshotControl::calculateSnapshotSize(const QSize& displaySize, Cxe::AspectRatio aspectRatio) const |
57 { |
57 { |
58 return d->calculateSnapshotSize(displaySize, outputResolution); |
58 return d->calculateSnapshotSize(displaySize, aspectRatio); |
59 } |
59 } |
60 |
60 |
61 /*! |
61 /*! |
62 * Start snapshot events. Snapshots will be signalled |
62 * Start snapshot events. Snapshots will be signalled |
63 * through snapshotReady() signal. |
63 * through snapshotReady() signal. |