XU XUv0.16.0

#image/draw

import: #image/draw

counts: 1 functions, 0 methods, 0 types, 2 constants, 0 method sets

SRC/OVER drawing on RGBA.

const OP_OVER

XuAPI
pub const OP_OVER = 0

Purpose

Constant OP_OVER, defining protocol or algorithm parameters.

const OP_SRC

XuAPI
pub const OP_SRC = 1

Purpose

Constant OP_SRC, defining protocol or algorithm parameters.

draw_rgba

XuAPI
pub fn draw_rgba(dst $&image.RGBA, r0 image.Rectangle, src &image.RGBA, sp0 image.Point, op int)

Purpose

Execute Porter-Duff compositing or direct copy drawing onto RGBA.

Parameters

dst $&image.RGBA
destination (exclusive borrow; may modify the original; type $&image.RGBA)
r0 image.Rectangle
r0 (image.Rectangle)
src &image.RGBA
source (read-only borrow; caller keeps the original; type &image.RGBA)
sp0 image.Point
sp0 (image.Point)
op int
op (int)

Returns

This call does not return a value.