diff --git a/common/gal/cairo/cairo_gal.cpp b/common/gal/cairo/cairo_gal.cpp index 6fddb499fb..d9c765b355 100644 --- a/common/gal/cairo/cairo_gal.cpp +++ b/common/gal/cairo/cairo_gal.cpp @@ -594,12 +594,14 @@ void CAIRO_GAL::DrawGroup( int aGroupNumber ) cairo_fill( currentContext ); break; + /* case CMD_TRANSFORM: cairo_matrix_t matrix; cairo_matrix_init( &matrix, it->argument.dblArg[0], it->argument.dblArg[1], it->argument.dblArg[2], it->argument.dblArg[3], it->argument.dblArg[4], it->argument.dblArg[5] ); cairo_transform( currentContext, &matrix ); break; + */ case CMD_ROTATE: cairo_rotate( currentContext, it->argument.dblArg[0] ); diff --git a/include/gal/cairo/cairo_gal.h b/include/gal/cairo/cairo_gal.h index 60b02a993a..74e5227052 100644 --- a/include/gal/cairo/cairo_gal.h +++ b/include/gal/cairo/cairo_gal.h @@ -296,7 +296,7 @@ private: wxBitmap* cursorPixelsSaved; ///< Saved cursor pixels /// Maximum number of arguments for one command - static const int MAX_CAIRO_ARGUMENTS = 6; + static const int MAX_CAIRO_ARGUMENTS = 4; /// Definitions for the command recorder enum GRAPHICS_COMMAND @@ -308,7 +308,7 @@ private: CMD_SET_LINE_WIDTH, ///< Set the line width CMD_STROKE_PATH, ///< Set the stroke path CMD_FILL_PATH, ///< Set the fill path - CMD_TRANSFORM, ///< Transform the actual context + //CMD_TRANSFORM, ///< Transform the actual context CMD_ROTATE, ///< Rotate the context CMD_TRANSLATE, ///< Translate the context CMD_SCALE, ///< Scale the context