26 #if defined (HAVE_CONFIG_H)
93 while (rotation > 360.0)
98 else if (rotation == 90.0)
100 else if (rotation == 180.0)
102 else if (rotation == 270.0)
110 int valign,
int rot_mode,
111 bool handle_rotation)
const
116 bbox(0) = -bbox(2)/2;
131 bbox(1) = -bbox(3)/2;
142 bbox(1) = -bbox(3)-bbox(1);
155 std::swap (bbox(0), bbox(1));
156 std::swap (bbox(2), bbox(3));
157 bbox(0) = -bbox(0)-bbox(2);
161 bbox(0) = -bbox(0)-bbox(2);
162 bbox(1) = -bbox(1)-bbox(3);
166 std::swap (bbox(0), bbox(1));
167 std::swap (bbox(2), bbox(3));
168 bbox(1) = -bbox(1)-bbox(3);
OCTARRAY_API Array< T, Alloc > index(const octave::idx_vector &i) const
Indexing without resizing.
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type dim2(void) const
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type dim3(void) const
Size of the specified dimension.
MArray< T > permute(const Array< octave_idx_type > &vec, bool inv=false) const
void fix_bbox_anchor(Matrix &bbox, int halign, int valign, int rot_mode, bool handle_rotation) const
void rotate_pixels(uint8NDArray &pixels, int rot_mode) const
int rotation_to_mode(double rotation) const
Vector representing the dimensions (size) of an Array.
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
octave::idx_vector idx_vector
intNDArray< octave_uint8 > uint8NDArray