Skip to main content
Ctrl+K
Logo image

COMPAS Viewer

  • Introduction
  • Installation
  • Tutorials
    • File Structure
  • Examples
    • Basic Examples
    • Object Examples
    • Color Examples
    • Layout Examples
    • Dynamic Examples
    • Other Examples
  • API Reference
    • compas_viewer.viewer
    • compas_viewer.scene
    • compas_viewer.controller
    • compas_viewer.actions
    • compas_viewer.components
    • compas_viewer.configurations
    • compas_viewer.layout
    • compas_viewer.utilities
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • Renderer
  • Renderer.resizeGL

Renderer.resizeGL

Renderer.resizeGL(w, h)[source]

Resize the OpenGL canvas.

Parameters:
wint

The width of the canvas.

hint

The height of the canvas.

Notes

This implements the virtual function of the OpenGL widget.

References

  • https://doc.qt.io/qtforpython-6/PySide6/QtOpenGL/QOpenGLWindow.html#PySide6.QtOpenGL.PySide6.QtOpenGL.QOpenGLWindow.resizeGL # noqa: E501

On this page
  • Renderer.resizeGL()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.