Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo150

RenderCelPixel

Renders a single pixel into a cel's data buffer.

Synopsis

void RenderCelPixel (CCB *cel, int32 pixel, int32 x, int32 y)

Description

This function renders a single pixel into the cel's data buffer.

This function performs no clipping internally. You must be careful not to pass coordinates that would result in rendering outside the cel's data buffer.

This function supports all cel formats and bit depths except packed cels, LRForm cels, and 6-bit coded cels.

Arguments

  • cel Pointer to the cel.
  • pixel Value to store into the pixel.
  • x X coordinate within the cel data buffer.
  • y Y coordinate within the cel data buffer.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo150.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1