Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/acpi/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 16 kB image not shown  

SSL gskrectsnapprivate.h

  Interaktion und
PortierbarkeitC
 

#pragma once

#include "gskrectsnap.h"

#define gsk_rect_snap_new(...) _gsk_rect_snap_new(__VA_ARGS__)
static inline GskRectSnap
_gsk_rect_snap_new (GskSnapDirection top,
                    GskSnapDirection right,
                    GskSnapDirection bottom,
                    GskSnapDirection left)
{
  return GSK_RECT_SNAP_INIT (top, right, bottom, left);
}

#define gsk_rect_snap_get_direction(...) _gsk_rect_snap_get_direction(__VA_ARGS__)
static inline GskSnapDirection
_gsk_rect_snap_get_direction (GskRectSnap snap,
                              GskSide     side)

  return (GskSnapDirection) ((snap >> (8 * side)) & 0xFF);
}

#define gsk_rect_snap_can_shrink(...) _gsk_rect_snap_can_shrink(__VA_ARGS__)
static inline gboolean
_gsk_rect_snap_can_shrink (GskRectSnap snap)
{
  GskSnapDirection dir;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_TOP);
  if (dir == GSK_SNAP_CEIL || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_RIGHT);
  if (dir == GSK_SNAP_FLOOR || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_BOTTOM);
  if (dir == GSK_SNAP_FLOOR || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_LEFT);
  if (dir == GSK_SNAP_CEIL || dir == GSK_SNAP_ROUND)
    return TRUE;

  return FALSE;
}

#define gsk_rect_snap_can_grow(...) _gsk_rect_snap_can_grow(__VA_ARGS__)
static inline gboolean
_gsk_rect_snap_can_grow (GskRectSnap snap)
{
  GskSnapDirection dir;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_TOP);
  if (dir == GSK_SNAP_FLOOR || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_RIGHT);
  if (dir == GSK_SNAP_CEIL || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_BOTTOM);
  if (dir == GSK_SNAP_CEIL || dir == GSK_SNAP_ROUND)
    return TRUE;

  dir = _gsk_rect_snap_get_direction (snap, GSK_SIDE_LEFT);
  if (dir == GSK_SNAP_FLOOR || dir == GSK_SNAP_ROUND)
    return TRUE;

  return FALSE;
}


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

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.11Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-07-02) ¤

*Bot Zugriff






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.