mupdf
Loading...
Searching...
No Matches
story.h File Reference
Include dependency graph for story.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fz_story_element_position

Typedefs

typedef struct fz_story fz_story
typedef void fz_story_position_callback(fz_context *ctx, void *arg, const fz_story_element_position *)

Enumerations

enum  { FZ_PLACE_STORY_FLAG_NO_OVERFLOW = 1 , FZ_PLACE_STORY_RETURN_ALL_FITTED = 0 , FZ_PLACE_STORY_RETURN_OVERFLOW_WIDTH = 2 }

Functions

fz_storyfz_new_story (fz_context *ctx, fz_buffer *buf, const char *user_css, float em, fz_archive *dir)
const char * fz_story_warnings (fz_context *ctx, fz_story *story)
int fz_place_story (fz_context *ctx, fz_story *story, fz_rect where, fz_rect *filled)
int fz_place_story_flags (fz_context *ctx, fz_story *story, fz_rect where, fz_rect *filled, int flags)
void fz_draw_story (fz_context *ctx, fz_story *story, fz_device *dev, fz_matrix ctm)
void fz_reset_story (fz_context *ctx, fz_story *story)
void fz_drop_story (fz_context *ctx, fz_story *story)
fz_xmlfz_story_document (fz_context *ctx, fz_story *story)
void fz_story_positions (fz_context *ctx, fz_story *story, fz_story_position_callback *cb, void *arg)

Typedef Documentation

◆ fz_story

typedef struct fz_story fz_story

◆ fz_story_position_callback

typedef void fz_story_position_callback(fz_context *ctx, void *arg, const fz_story_element_position *)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FZ_PLACE_STORY_FLAG_NO_OVERFLOW 
FZ_PLACE_STORY_RETURN_ALL_FITTED 
FZ_PLACE_STORY_RETURN_OVERFLOW_WIDTH 

Function Documentation

◆ fz_draw_story()

void fz_draw_story ( fz_context * ctx,
fz_story * story,
fz_device * dev,
fz_matrix ctm )

◆ fz_drop_story()

void fz_drop_story ( fz_context * ctx,
fz_story * story )

◆ fz_new_story()

fz_story * fz_new_story ( fz_context * ctx,
fz_buffer * buf,
const char * user_css,
float em,
fz_archive * dir )

◆ fz_place_story()

int fz_place_story ( fz_context * ctx,
fz_story * story,
fz_rect where,
fz_rect * filled )

◆ fz_place_story_flags()

int fz_place_story_flags ( fz_context * ctx,
fz_story * story,
fz_rect where,
fz_rect * filled,
int flags )

◆ fz_reset_story()

void fz_reset_story ( fz_context * ctx,
fz_story * story )

◆ fz_story_document()

fz_xml * fz_story_document ( fz_context * ctx,
fz_story * story )

◆ fz_story_positions()

void fz_story_positions ( fz_context * ctx,
fz_story * story,
fz_story_position_callback * cb,
void * arg )

◆ fz_story_warnings()

const char * fz_story_warnings ( fz_context * ctx,
fz_story * story )