"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/Cocoa/aqua_renderer.h" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

aqua_renderer.h  (TeXmacs-1.99.4-src):aqua_renderer.h  (TeXmacs-1.99.5-src)
skipping to change at line 20 skipping to change at line 20
******************************************************************************/ ******************************************************************************/
#ifndef AQUA_RENDERER_H #ifndef AQUA_RENDERER_H
#define AQUA_RENDERER_H #define AQUA_RENDERER_H
#include "basic_renderer.hpp" #include "basic_renderer.hpp"
class aqua_renderer_rep: public basic_renderer_rep { class aqua_renderer_rep: public basic_renderer_rep {
public: public:
NSGraphicsContext *context; NSGraphicsContext *context;
NSView *view;
aqua_renderer_rep (int w = 0, int h = 0); aqua_renderer_rep (int w = 0, int h = 0);
virtual ~aqua_renderer_rep (); virtual ~aqua_renderer_rep ();
void draw (int char_code, font_glyphs fn, SI x, SI y); void draw (int char_code, font_glyphs fn, SI x, SI y);
void set_pencil (pencil p); void set_pencil (pencil p);
void line (SI x1, SI y1, SI x2, SI y2); void line (SI x1, SI y1, SI x2, SI y2);
void lines (array<SI> x, array<SI> y); void lines (array<SI> x, array<SI> y);
void clear (SI x1, SI y1, SI x2, SI y2); void clear (SI x1, SI y1, SI x2, SI y2);
void fill (SI x1, SI y1, SI x2, SI y2); void fill (SI x1, SI y1, SI x2, SI y2);
void arc (SI x1, SI y1, SI x2, SI y2, int alpha, int delta); void arc (SI x1, SI y1, SI x2, SI y2, int alpha, int delta);
void fill_arc (SI x1, SI y1, SI x2, SI y2, int alpha, int delta); void fill_arc (SI x1, SI y1, SI x2, SI y2, int alpha, int delta);
void polygon (array<SI> x, array<SI> y, bool convex=true); void polygon (array<SI> x, array<SI> y, bool convex=true);
void draw_triangle (SI x1, SI y1, SI x2, SI y2, SI x3, SI y3);
void image (url u, SI w, SI h, SI x, SI y, int alpha); void image (url u, SI w, SI h, SI x, SI y, int alpha);
void new_shadow (renderer& ren);
void delete_shadow (renderer& ren);
void get_shadow (renderer ren, SI x1, SI y1, SI x2, SI y2);
void put_shadow (renderer ren, SI x1, SI y1, SI x2, SI y2);
void apply_shadow (SI x1, SI y1, SI x2, SI y2);
/***** private section *****************************************************/ /***** private section *****************************************************/
void draw_clipped (NSImage *im, int w, int h, SI x, SI y); void draw_clipped (NSImage *im, int w, int h, SI x, SI y);
void begin (void* c); // c must be a CGContextRef void begin (void* c); // c must be a CGContextRef
void end (); void end ();
NSImage *xpm_image(url file_name); NSImage *xpm_image(url file_name);
}; };
aqua_renderer_rep *the_aqua_renderer(); aqua_renderer_rep *the_aqua_renderer();
#endif // defined AQUA_RENDERER_H #endif // defined AQUA_RENDERER_H
 End of changes. 4 change blocks. 
1 lines changed or deleted 10 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS