"Fossies" - the Fresh Open Source Software Archive

Member "poppler-0.82.0/glib/reference/html/poppler-Poppler-Color.html" (25 Oct 2019, 9809 Bytes) of package /linux/misc/poppler-0.82.0.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the poppler-0.82.0.tar.xz project site itself.

PopplerColor

PopplerColor — Colors

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── PopplerColor

Includes

#include <poppler.h>

Description

Functions

poppler_color_copy ()

PopplerColor *
poppler_color_copy (PopplerColor *color);

Creates a copy of color

Parameters

color

a PopplerColor to copy

 

Returns

a new allocated copy of color


poppler_color_free ()

void
poppler_color_free (PopplerColor *color);

Frees the given PopplerColor

Parameters

color

a PopplerColor

 

poppler_color_new ()

PopplerColor *
poppler_color_new (void);

Creates a new PopplerColor

Returns

a new PopplerColor, use poppler_color_free() to free it

Types and Values

PopplerColor

typedef struct {
  guint16 red;
  guint16 green;
  guint16 blue;
} PopplerColor;

A PopplerColor describes a RGB color. Color components are values between 0 and 65535

Members

guint16 red;

the red component of color

 

guint16 green;

the green component of color

 

guint16 blue;

the blue component of color