mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
16a476fe22
It is always 1.0 now, so there is no point. Instead of the scale, print the font when doing verbose logging.
32 lines
2.0 KiB
C
32 lines
2.0 KiB
C
#pragma once
|
|
|
|
#include "gskgpuopprivate.h"
|
|
|
|
#include "gsktypes.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef void (* GskGpuCairoFunc) (gpointer user_data,
|
|
cairo_t *cr);
|
|
|
|
GskGpuImage * gsk_gpu_upload_texture_op_try (GskGpuFrame *frame,
|
|
gboolean with_mipmap,
|
|
GdkTexture *texture);
|
|
|
|
GskGpuImage * gsk_gpu_upload_cairo_op (GskGpuFrame *frame,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
GskGpuCairoFunc func,
|
|
gpointer user_data,
|
|
GDestroyNotify user_destroy);
|
|
|
|
void gsk_gpu_upload_glyph_op (GskGpuFrame *frame,
|
|
GskGpuImage *image,
|
|
PangoFont *font,
|
|
PangoGlyph glyph,
|
|
const cairo_rectangle_int_t *area,
|
|
const graphene_point_t *origin);
|
|
|
|
G_END_DECLS
|
|
|