comparison OrthancStone/Sources/Scene2D/Internals/OpenGLLinesProgram.h @ 1576:92fca2b3ba3d

sanitizing the handling of canvas size
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Sep 2020 16:40:30 +0200
parents 85e117739eca
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1575:e4a52cbbdd70 1576:92fca2b3ba3d
80 public: 80 public:
81 explicit OpenGLLinesProgram(OpenGL::IOpenGLContext& context); 81 explicit OpenGLLinesProgram(OpenGL::IOpenGLContext& context);
82 82
83 void Apply(const Data& data, 83 void Apply(const Data& data,
84 const AffineTransform2D& transform, 84 const AffineTransform2D& transform,
85 unsigned int canvasWidth,
86 unsigned int canvasHeight,
85 bool antialiasing, 87 bool antialiasing,
86 bool scaleIndependantThickness); 88 bool scaleIndependantThickness);
87 }; 89 };
88 } 90 }
89 } 91 }