javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/qt/graphicscontextimpl.h
equal
deleted
inserted
replaced
102 virtual void scale(int aX, int aY); |
102 virtual void scale(int aX, int aY); |
103 virtual void resetTransform(); |
103 virtual void resetTransform(); |
104 virtual void saveSettings(); |
104 virtual void saveSettings(); |
105 virtual void restoreSettings(); |
105 virtual void restoreSettings(); |
106 |
106 |
|
107 /** |
|
108 * Returns trasformed image |
|
109 * |
|
110 * @param image image to perform transformation on |
|
111 * @param manuplation indicates what kind of transformation is needed |
|
112 */ |
|
113 QImage doTransform(QImage image, int manipulation); |
|
114 |
107 private: |
115 private: |
108 |
116 |
109 /** |
117 /** |
110 * Checks if background color needs to be updated and updates it if necessary |
118 * Checks if background color needs to be updated and updates it if necessary |
111 */ |
119 */ |
132 * @param aPrt the pointer to check |
140 * @param aPrt the pointer to check |
133 * @return true if given ptr is with in bounds othewise false |
141 * @return true if given ptr is with in bounds othewise false |
134 */ |
142 */ |
135 bool isPtrWithinRange(const int* aStartPtr, const int* aEndPtr, const int* aPrt); |
143 bool isPtrWithinRange(const int* aStartPtr, const int* aEndPtr, const int* aPrt); |
136 |
144 |
137 /** |
|
138 * Returns trasformed image |
|
139 * |
|
140 * @param image image to perform transformation on |
|
141 * @param manuplation indicates what kind of transformation is needed |
|
142 */ |
|
143 |
|
144 QImage doTransform(QImage image, int manipulation); |
|
145 /** |
145 /** |
146 * Performs clean for graphicsContext, i.e. deletes all allocations |
146 * Performs clean for graphicsContext, i.e. deletes all allocations |
147 * and resets state. |
147 * and resets state. |
148 */ |
148 */ |
149 void doCleanup(); |
149 void doCleanup(); |