ASDrawContext Struct Reference

#include <draw.h>

List of all members.

Public Attributes

ASFlagType flags
ASDrawTooltool
int canvas_width
int canvas_height
CARD32 * canvas
CARD32 * scratch_canvas
int curr_x
int curr_y
void(* apply_tool_func )(struct ASDrawContext *ctx, int curr_x, int curr_y, CARD32 ratio)
void(* fill_hline_func )(struct ASDrawContext *ctx, int x_from, int y, int x_to, CARD32 ratio)


Detailed Description

Definition at line 12 of file draw.h.


Member Data Documentation

ASFlagType ASDrawContext::flags

Definition at line 17 of file draw.h.

Referenced by apply_tool_2D_colored(), apply_tool_point_colored(), asim_apply_path(), asim_cube_bezier(), asim_set_brush(), asim_set_custom_brush(), asim_set_custom_brush_colored(), asim_start_path(), create_draw_context_argb32(), and fill_hline_notile_colored().

ASDrawTool* ASDrawContext::tool

Definition at line 19 of file draw.h.

Referenced by apply_tool_2D(), apply_tool_2D_colored(), apply_tool_point(), apply_tool_point_colored(), asim_set_brush(), asim_set_custom_brush(), asim_set_custom_brush_colored(), and fill_hline_notile_colored().

int ASDrawContext::canvas_width

Definition at line 21 of file draw.h.

Referenced by apply_asdraw_context(), apply_tool_2D(), apply_tool_2D_colored(), apply_tool_point(), apply_tool_point_colored(), asim_flood_fill(), asim_line_to_generic(), asim_start_path(), create_asdraw_context(), create_draw_context_argb32(), ctx_draw_bezier(), ctx_flood_fill(), fill_hline_notile(), and fill_hline_notile_colored().

int ASDrawContext::canvas_height

Definition at line 21 of file draw.h.

Referenced by apply_asdraw_context(), apply_tool_2D(), apply_tool_2D_colored(), asim_line_to_generic(), asim_start_path(), asim_straight_ellips(), create_asdraw_context(), create_draw_context_argb32(), ctx_draw_bezier(), and ctx_flood_fill().

CARD32* ASDrawContext::canvas

Definition at line 22 of file draw.h.

Referenced by apply_asdraw_context(), create_asdraw_context(), create_draw_context_argb32(), and destroy_asdraw_context().

CARD32* ASDrawContext::scratch_canvas

Definition at line 23 of file draw.h.

Referenced by asim_start_path(), create_draw_context_argb32(), destroy_asdraw_context(), and destroy_asdraw_context32().

int ASDrawContext::curr_x

Definition at line 25 of file draw.h.

Referenced by asim_cube_bezier(), asim_line_to_generic(), and asim_move_to().

int ASDrawContext::curr_y

Definition at line 25 of file draw.h.

Referenced by asim_cube_bezier(), asim_line_to_generic(), and asim_move_to().

void(* ASDrawContext::apply_tool_func)(struct ASDrawContext *ctx, int curr_x, int curr_y, CARD32 ratio)

Referenced by asim_set_brush(), asim_set_custom_brush(), and asim_set_custom_brush_colored().

void(* ASDrawContext::fill_hline_func)(struct ASDrawContext *ctx, int x_from, int y, int x_to, CARD32 ratio)

Referenced by asim_set_brush(), asim_set_custom_brush(), asim_set_custom_brush_colored(), and create_asdraw_context().


The documentation for this struct was generated from the following file:
Generated on Tue Jul 5 16:25:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1