Isis 3 Programmer Reference
ViewportBufferTransform.cpp
1
7/* SPDX-License-Identifier: CC0-1.0 */
8
9
10#include "ViewportBufferTransform.h"
11
12#include <QRect>
13
14namespace Isis {
25
36
37
44 void ViewportBufferTransform::setResize(int width, int height) {
45 p_newBufferWidth = width;
46 p_newBufferHeight = height;
47 }
48}
bool p_resizeFirst
Do the resize before the translation?
int p_yTranslation
How far to translate in Y.
void setResize(int width, int height)
Sets the size the buffer should be resized to.
int p_xTranslation
How far to translate in X.
void setTranslation(int x, int y)
Sets the translation amount in x and y.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16