beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CanvasInfo_v2 Op

CanvasInfo

the size of the canvas in pixels, aspect ratio and pixel density



Edit Documentation

Full Name
  • Ops.Gl.CanvasInfo_v2
Visibility
  • Core Op - Official cables op
Author


 

INPUT PORTS


Pixel Unit index (Number:integer )

OUTPUT PORTS


width (Number)
height (Number)
Pixel Ratio (Number)
Pixel Width (Number)
Pixel Height (Number)
Aspect Ratio (Number)
Landscape (boolean Number)
Canvas (Object)
Canvas Parent (Object)

Usages of CanvasInfo_v2

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


new output: landscape - true if canvas width > heightuser avatarpandur - 2019-02-20
Ops.Gl.CanvasSize renamed to Ops.Gl.CanvasInfouser avatarpandur - 2019-11-05
cloned op from Ops.Gl.CanvasInfouser avatarpandur - 2023-11-28
renameOps.Patch.PJUYkmM.CanvasInfo2 renamed to Ops.Gl.CanvasInfo_v2user avatarpandur - 2023-11-28