Method

GskPathhash

unstable since: 4.26

Declaration [src]

guint
gsk_path_hash (
  const GskPath* self
)

Description [src]

Generates a hash value for the path suitable for use in a GHashTable.

Paths that compare equal with gsk_path_equal() will have the same hash value and so will paths that compare equal with gsk_path_translatable(). If it is important to generate different hash values for translatable paths, consider xor-ing a hash of the path’s bounds.

The returned hash values may not be identical across multiple runs of the same program.

Available since: 4.26

Return value

Type: guint

The path’s hash value.