gtk/gsk/gpu/gskgpuborderopprivate.h
Matthias Clasen f3ffa99f6a gsk: Change the border op api
Pass the ccs, opacity and GdkColors to the op to let it make
decisions about color conversion. Also, reorder the offset to
follow the same order as the color ops.

Update the callers.
2024-08-06 07:35:00 -04:00

24 lines
1.2 KiB
C

#pragma once
#include "gskgputypesprivate.h"
#include "gsktypes.h"
#include "gdkcolorprivate.h"
#include <graphene.h>
G_BEGIN_DECLS
void gsk_gpu_border_op (GskGpuFrame *frame,
GskGpuShaderClip clip,
GdkColorState *ccs,
float opacity,
const graphene_point_t *offset,
const GskRoundedRect *outline,
const graphene_point_t *inside_offset,
const float widths[4],
const GdkColor colors[4]);
G_END_DECLS