This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



DMXGetScreenAttributes(3X)                                                        DMXGetScreenAttributes(3X)



NAME
       DMXGetScreenAttributes - determine back-end screen attributes

SYNOPSIS
       #include <X11/extensions/dmxext.h>

       Bool DMXGetScreenAttributes(Display *dpy,
                                   int screen,
                                   DMXScreenAttributes *attr);

DESCRIPTION
       DMXGetScreenAttributes() returns the attributes for the single DMX screen specified in screen.

       The DMXScreenAttributes structure is:

       typedef struct {
           char         *displayName;
           int          logicalScreen;

           unsigned int screenWindowWidth;
           unsigned int screenWindowHeight;
           int          screenWindowXoffset;
           int          screenWindowYoffset;

           unsigned int rootWindowWidth;
           unsigned int rootWindowHeight;
           int          rootWindowXoffset;
           int          rootWindowYoffset;

           int          rootWindowXorigin;
           int          rootWindowYorigin;
       } DMXScreenAttributes;

       displayName  is  the  name used to open the display, either from the Xdmx(1) command-line or from the
       configuration file.

       logicalScreen is the value of the screen that that Xdmx(1) server exports to clients.  When  Xinerama
       is  in  use,  this  value  is  typically  0 for all values of physicalScreen.  If Xinerama is in use,
       rootWindowXorigin and rootWindowYorigin specify where the physical screen is positioned in the global
       Xinerama coordinate system.  Otherwise, these values are set to 0.

       screenWindowWidth,  screenWindowHeight,  screenWindowXoffset,  and screenWindowYoffset are a geometry
       specification (see X(7x)) for the location of the DMX screen on the back-end screen.  The  coordinant
       system of the back-end display is used for these values.

       rootWindowWidth, rootWindowHeight, rootWindowXoffset, and rootWindowYoffset are a geometry specifica-tion specification
       tion (see X(7x)) for the location of the root window on the screen window.  The coordinant system  of
       the  screen  window  is  used.  In most cases, the root window will have the same geometry as the DMX
       screen window, and will occupy the same area of the back-end display.  (This would not be  the  case,
       for example, if automatic projector alignment is used.)

RETURN VALUE
       DMXGetScreenAttributes() returns True unless there is a protocol error.

       DMXGetScreenAttributes() can generate BadValue errors.

SEE ALSO
       DMXGetScreenCount(3X), DMXChangeScreenAttributes(3X), DMX(3X), Xdmx(1)



X Version 11                                    libdmx 1.0.2                      DMXGetScreenAttributes(3X)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...