Lines Matching refs:col
205 * get a value from the matrix. The row,col parameters work as follows:
210 inline SkMScalar get(int row, int col) const {
212 SkASSERT((unsigned)col <= 3);
213 return fMat[col][row];
217 * set a value in the matrix. The row,col parameters work as follows:
222 inline void set(int row, int col, SkMScalar value) {
224 SkASSERT((unsigned)col <= 3);
225 fMat[col][row] = value;
229 inline double getDouble(int row, int col) const {
230 return SkMScalarToDouble(this->get(row, col));
232 inline void setDouble(int row, int col, double value) {
233 this->set(row, col, SkDoubleToMScalar(value));
235 inline float getFloat(int row, int col) const {
236 return SkMScalarToFloat(this->get(row, col));
238 inline void setFloat(int row, int col, float value) {
239 this->set(row, col, SkFloatToMScalar(value));