NetSurf
Functions
sprite.c File Reference

Content for image/x-riscos-sprite (RISC OS implementation). More...

#include <string.h>
#include <stdlib.h>
#include "oslib/osspriteop.h"
#include "utils/config.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
#include "netsurf/plotters.h"
#include "netsurf/content.h"
#include "content/llcache.h"
#include "content/content.h"
#include "content/content_protected.h"
#include "content/content_factory.h"
#include "riscos/gui.h"
#include "riscos/image.h"
#include "riscos/content-handlers/sprite.h"
Include dependency graph for sprite.c:

Go to the source code of this file.

Functions

byte sprite_bpp (const osspriteop_header *s)
 Returns the bit depth of a sprite. More...
 

Detailed Description

Content for image/x-riscos-sprite (RISC OS implementation).

No conversion is necessary: we can render RISC OS sprites directly under RISC OS.

Definition in file sprite.c.

Function Documentation

◆ sprite_bpp()

byte sprite_bpp ( const osspriteop_header *  s)

Returns the bit depth of a sprite.

Parameters
ssprite
Returns
depth in bpp

Definition at line 249 of file sprite.c.

References type.

Referenced by riscos_bitmap_overlay_sprite(), and ro_gui_window_iconise().

Here is the caller graph for this function: