Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  gtksnapshotprivate.h

  Sprache: C
 

/* GTK - The GIMP Toolkit
 * Copyright (C) 2016 Benjamin Otte <otte@gnome.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */


#pragma once

#include "gtksnapshot.h"

#include "gdk/gdksubsurfaceprivate.h"
#include "gsk/gskrendernodeprivate.h"
/* for GskRepeat */
#include "gsk/gskgradientprivate.h"
#include "gsk/gskshadownodeprivate.h"
#include "gsk/gskturbulencenodeprivate.h"

G_BEGIN_DECLS

void                    gtk_snapshot_append_text                (GtkSnapshot            *snapshot,
                                                                 PangoFont              *font,
                                                                 PangoGlyphString       *glyphs,
                                                                 const GdkRGBA          *color,
                                                                 float                   x,
                                                                 float                   y);
void                    gtk_snapshot_add_text                   (GtkSnapshot            *snapshot,
                                                                 PangoFont              *font,
                                                                 PangoGlyphString       *glyphs,
                                                                 const GdkColor         *color,
                                                                 float                   x,
                                                                 float                   y);

void                    gtk_snapshot_add_layout                 (GtkSnapshot            *snapshot,
                                                                 PangoLayout            *layout,
                                                                 const GdkColor         *color);

void                    gtk_snapshot_push_collect               (GtkSnapshot            *snapshot);
GskRenderNode *         gtk_snapshot_pop_collect                (GtkSnapshot            *snapshot);

void                    gtk_snapshot_push_subsurface            (GtkSnapshot            *snapshot,
                                                                 GdkSubsurface          *subsurface);
void                    gtk_snapshot_push_repeat2               (GtkSnapshot            *snapshot,
                                                                 const graphene_rect_t  *bounds,
                                                                 const graphene_rect_t  *child_bounds,
                                                                 GskRectSnap             child_snap,
                                                                 GskRepeat               repeat);
void                    gtk_snapshot_push_displacement          (GtkSnapshot            *snapshot,
                                                                 const graphene_rect_t  *bounds,
                                                                 const GdkColorChannel   channels[2],
                                                                 const graphene_size_t  *max,
                                                                 const graphene_size_t  *scale,
                                                                 const graphene_point_t *offset);
void                    gtk_snapshot_push_arithmetic            (GtkSnapshot            *snapshot,
                                                                 const graphene_rect_t  *bounds,
                                                                 GdkColorState          *color_state,
                                                                 const float             factors[4]);

void                    gtk_snapshot_add_color                  (GtkSnapshot            *snapshot,
                                                                 const GdkColor         *color,
                                                                 const graphene_rect_t  *bounds);
void                    gtk_snapshot_add_border                 (GtkSnapshot            *snapshot,
                                                                 const GskRoundedRect   *outline,
                                                                 const float             border_width[4],
                                                                 GskRectSnap             border_snap,
                                                                 const GdkColor          border_color[4]);

void                    gtk_snapshot_add_inset_shadow           (GtkSnapshot            *snapshot,
                                                                 const GskRoundedRect   *outline,
                                                                 const GdkColor         *color,
                                                                 const graphene_point_t *offset,
                                                                 float                   spread,
                                                                 float                   blur_radius);

void                    gtk_snapshot_add_outset_shadow          (GtkSnapshot            *snapshot,
                                                                 const GskRoundedRect   *outline,
                                                                 const GdkColor         *color,
                                                                 const graphene_point_t *offset,
                                                                 float                   spread,
                                                                 float                   blur_radius);

void                    gtk_snapshot_push_shadows               (GtkSnapshot          *snapshot,
                                                                 const GskShadowEntry *shadow,
                                                                 gsize                 n_shadows);

void                    gtk_snapshot_add_linear_gradient        (GtkSnapshot             *snapshot,
                                                                 const graphene_rect_t   *bounds,
                                                                 const graphene_point_t  *start_point,
                                                                 const graphene_point_t  *end_point,
                                                                 const GskGradient       *gradient);
void                    gtk_snapshot_add_radial_gradient        (GtkSnapshot             *snapshot,
                                                                 const graphene_rect_t   *bounds,
                                                                 const graphene_point_t  *start_center,
                                                                 float                    start_radius,
                                                                 const graphene_point_t  *end_center,
                                                                 float                    end_radius,
                                                                 float                    aspect_ratio,
                                                                 const GskGradient       *gradient);

void                    gtk_snapshot_add_conic_gradient         (GtkSnapshot             *snapshot,
                                                                 const graphene_rect_t   *bounds,
                                                                 const graphene_point_t  *center,
                                                                 float                    rotation,
                                                                 const GskGradient       *gradient);
void                    gtk_snapshot_append_node_scaled         (GtkSnapshot             *snapshot,
                                                                 GskRenderNode           *node,
                                                                 graphene_rect_t         *from,
                                                                 graphene_rect_t         *to);

void                    gtk_snapshot_add_turbulence             (GtkSnapshot            *snapshot,
                                                                 const graphene_rect_t  *bounds,
                                                                 GdkColorState          *color_state,
                                                                 const graphene_size_t  *base_freq,
                                                                 unsigned int            num_octaves,
                                                                 int                     seed,
                                                                 GskNoiseType            noise_type,
                                                                 gboolean                stitch_tiles);

G_END_DECLS

Messung V0.5 in Prozent
C=98 H=96 G=96

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-07-02) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik