Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Gimp/app/core/   (Gimp Bildeditor Version 3.2.0©)  Datei vom 14.2.2026 mit Größe 2 kB image not shown  

Quelle  gimprasterizable.h   Sprache: C

 

/* GIMP - The GNU Image Manipulation Program
 * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
 *
 * gimprasterizable.h
 * Copyright (C) 2025 Jehan
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */


#pragma once

#include "gimpdrawable.h"

#define GIMP_TYPE_RASTERIZABLE (gimp_rasterizable_get_type ())
G_DECLARE_INTERFACE (GimpRasterizable, gimp_rasterizable, GIMP, RASTERIZABLE, GimpDrawable)


struct _GimpRasterizableInterface
{
  GTypeInterface base_iface;

  /*  signals            */
  void   (* set_rasterized)                      (GimpRasterizable  *rasterizable,
                                                  gboolean           rasterized);
};


void       gimp_rasterizable_rasterize           (GimpRasterizable  *rasterizable,
                                                  gboolean           push_undo);
void       gimp_rasterizable_restore             (GimpRasterizable  *rasterizable);

gboolean   gimp_rasterizable_is_rasterized       (GimpRasterizable  *rasterizable);

void       gimp_rasterizable_set_auto_rename     (GimpRasterizable  *rasterizable,
                                                  gboolean           auto_rename);
gboolean   gimp_rasterizable_get_auto_rename     (GimpRasterizable  *rasterizable);


/* Overwrite rename() of GimpItemClass of all children. */
gboolean   gimp_rasterizable_rename              (GimpItem          *item,
                                                  const gchar       *new_name,
                                                  const gchar       *undo_desc,
                                                  GError           **error);
/* Shared code to rename the rasterizable. */
void       gimp_rasterizable_auto_rename         (GimpRasterizable  *rasterizable,
                                                  GimpObject        *rename_data,
                                                  const gchar       *rename_string);

/* To be used for undo steps only */
void       gimp_rasterizable_set_undo_rasterized (GimpRasterizable  *rasterizable,
                                                  gboolean           rasterize);

Messung
CHZG
829810093

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


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.