code: def deviceWidth(self):
      dpr = self.devicePixelRatioF()
      return int(self.width() * dpr)
  
imports: from OpenGL.GL import *
  import OpenGL.GL.framebufferobjects
  from math import cos, radians, sin, tan
  import numpy
  from ..None import Vector
  from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the GLViewMixin obj's underlying member method code with example usage: obj.deviceWidth() and returns: int