From: abd Date: Wed, 23 Nov 2005 11:39:21 +0000 (+0000) Subject: Support real type of picture size X-Git-Tag: BR_3_1_0_deb~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d089c561bde805ce89b4436a957db215462891be;p=modules%2Fgui.git Support real type of picture size --- diff --git a/src/GLViewer/GLViewer_Drawer.cxx b/src/GLViewer/GLViewer_Drawer.cxx index 573e9f2dd..74698b90c 100644 --- a/src/GLViewer/GLViewer_Drawer.cxx +++ b/src/GLViewer/GLViewer_Drawer.cxx @@ -658,8 +658,8 @@ void GLViewer_Drawer::drawTexture( GLuint texture, GLint x_size, GLint y_size, G void GLViewer_Drawer::drawTexturePart( GLuint texture, GLfloat x_ratio, GLfloat y_ratio, - GLint x_size, - GLint y_size, + GLfloat x_size, + GLfloat y_size, GLfloat x, GLfloat y, GLfloat scale ) diff --git a/src/GLViewer/GLViewer_Drawer.h b/src/GLViewer/GLViewer_Drawer.h index 253f5dd92..56bbdbbec 100644 --- a/src/GLViewer/GLViewer_Drawer.h +++ b/src/GLViewer/GLViewer_Drawer.h @@ -302,8 +302,8 @@ public: void drawTexturePart( GLuint texture, GLfloat x_ratio, GLfloat y_ratio, - GLint x_size, - GLint y_size, + GLfloat x_size, + GLfloat y_size, GLfloat x, GLfloat y, GLfloat scale = 0 );