Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkmemorytexture.h File Reference
#include <gdk/gdktypes.h>
#include <gdk/gdktexture.h>

Go to the source code of this file.

Macros

#define GDK_MEMORY_DEFAULT   GDK_MEMORY_B8G8R8A8_PREMULTIPLIED
 
#define GDK_TYPE_MEMORY_TEXTURE   (gdk_memory_texture_get_type ())
 
#define GDK_MEMORY_TEXTURE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_MEMORY_TEXTURE, GdkMemoryTexture))
 
#define GDK_IS_MEMORY_TEXTURE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_MEMORY_TEXTURE))
 

Typedefs

typedef struct _GdkMemoryTexture GdkMemoryTexture
 
typedef struct _GdkMemoryTextureClass GdkMemoryTextureClass
 

Functions

GDK_AVAILABLE_IN_ALL GType gdk_memory_texture_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL GdkTexturegdk_memory_texture_new (int width, int height, GdkMemoryFormat format, GBytes *bytes, gsize stride)
 

Macro Definition Documentation

◆ GDK_IS_MEMORY_TEXTURE

#define GDK_IS_MEMORY_TEXTURE ( obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_MEMORY_TEXTURE))

Definition at line 53 of file gdkmemorytexture.h.

◆ GDK_MEMORY_DEFAULT

#define GDK_MEMORY_DEFAULT   GDK_MEMORY_B8G8R8A8_PREMULTIPLIED

GDK_MEMORY_DEFAULT:

The default memory format used by GTK.

This is the format provided by [metho.nosp@m.d@Gd.nosp@m.k.Tex.nosp@m.ture.nosp@m..down.nosp@m.load]. It is equal to CAIRO_FORMAT_ARGB32.

Be aware that unlike the GdkMemoryFormat values, this format is different for different endianness.

Definition at line 43 of file gdkmemorytexture.h.

◆ GDK_MEMORY_TEXTURE

#define GDK_MEMORY_TEXTURE ( obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_MEMORY_TEXTURE, GdkMemoryTexture))

Definition at line 52 of file gdkmemorytexture.h.

◆ GDK_TYPE_MEMORY_TEXTURE

#define GDK_TYPE_MEMORY_TEXTURE   (gdk_memory_texture_get_type ())

Definition at line 50 of file gdkmemorytexture.h.

Typedef Documentation

◆ GdkMemoryTexture

typedef struct _GdkMemoryTexture GdkMemoryTexture

Definition at line 55 of file gdkmemorytexture.h.

◆ GdkMemoryTextureClass

typedef struct _GdkMemoryTextureClass GdkMemoryTextureClass

Definition at line 56 of file gdkmemorytexture.h.

Function Documentation

◆ gdk_memory_texture_get_type()

GDK_AVAILABLE_IN_ALL GType gdk_memory_texture_get_type ( void )

◆ gdk_memory_texture_new()

GDK_AVAILABLE_IN_ALL GdkTexture * gdk_memory_texture_new ( int width,
int height,
GdkMemoryFormat format,
GBytes * bytes,
gsize stride )