EnglishFrenchSpanish

OnWorks favicon

xgc - Online in the Cloud

Run xgc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xgc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xgc - X graphics demo

SYNOPSIS


xgc [-toolkitoption ...]

DESCRIPTION


The xgc program demonstrates various features of the X graphics primitives. In X, most of
the details about the graphics to be generated are stored in a resource called a graphics
context (GC). The xgc program provides a user interface for setting various GC
components. Pressing the "Run" button causes these results to be displayed in the large
drawing window on the right. Timing information is displayed in the window immediately
below.

The items in the upper left hand window work as follows:

Function - specify the logical function with which primitives will drawn. The most usual
setting is "set", i.e. simply to render pixels without regard to what has been drawn
before.

LineStyle - specify whether lines should be drawn solid in foreground, dashed in
foreground or alternating foreground and background.

CapStyle - specify the appearance of the ends of a line.

JoinStyle - specify the appearance of joints between consecutive lines drawn within a
single graphics primitive.

FillStyle - specify whether lines, text and fill requests are solid, tiled with a pixmap
or stippled.

FillRule - specifies the rule used to fill polygons. The EvenOdd rule means that if areas
overlap an odd number of times, they are not drawn. Winding rule means that overlapping
areas are always filled, regardless of how many times they overlap.

ArcMode - specifies the rule for filling of arcs. The boundary of the arc is either a
Chord or two radii.

planemask - specifies which planes of the drawing window are modified. By default, all
planes are modified.

dashlist - specifies a pattern to be used when drawing dashed lines.

Line Width - specifies the width in pixels of lines to be drawn. Zero means to draw using
the server's fastest algorithm with a line width of one pixel.

Font - specifies the font to be used for text primitives.

Foreground and Background - specify the pixel values to be applied when drawing
primitives. The Foreground value is used as the pixel value for set bits in the source in
all primitives. The Background value is used as the pixel value for unset bits in the
source when using Copy Plane, drawing lines with LineStyle of DoubleDash and filling with
FillStyle of OpaqueStippled.

Percentage of Test - scrollbar permits specifying only a percentage of the test to be run.
The number at the left indicates the current setting, which defaults to 100%.

The window labeled "Test" permits choice of one a number of graphics primitive tests,
including Points, Segments, Lines, Arcs and Filled Arcs, 8-bit Text and Image Text,
Rectangles and Filled Rectangles, Image draws, as well as Copy Plane and Copy Area.

The window to the right of this has buttons which permit record/playback of the primitives
rendered.

OPTIONS


Xgc accepts all of the standard X Toolkit command line options.

X DEFAULTS


This program accepts the usual defaults for toolkit applications.

ENVIRONMENT


DISPLAY to get the default host and display number.

XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in
the RESOURCE_MANAGER property.

Use xgc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 4
    couriertls
    couriertls
    couriertls - the Courier mail server
    TLS/SSL protocol wrapper ...
    Run couriertls
  • 5
    galleta
    galleta
    galleta - tool to extract information
    from MSIE cookie files ...
    Run galleta
  • 6
    gallina
    gallina
    gallina - extracts specification from
    Coq vernacular files ...
    Run gallina
  • More »

Ad