Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
agg::rasterizer_sl_no_clip Class Reference

#include <src/agg/agg_rasterizer_sl_clip.h>

Public Types

typedef ras_conv_int conv_type
 
typedef int coord_type
 

Public Member Functions

 rasterizer_sl_no_clip ()
 
void reset_clipping ()
 
void clip_box (coord_type, coord_type, coord_type, coord_type)
 
void move_to (coord_type x1, coord_type y1)
 
template<class Rasterizer >
void line_to (Rasterizer &ras, coord_type x2, coord_type y2)
 

Private Attributes

int m_x1
 
int m_y1
 

Detailed Description

Member Typedef Documentation

◆ conv_type

◆ coord_type

Constructor & Destructor Documentation

◆ rasterizer_sl_no_clip()

agg::rasterizer_sl_no_clip::rasterizer_sl_no_clip ( )
inline
317: m_x1(0), m_y1(0) {}
int m_x1
Definition agg_rasterizer_sl_clip.h:332
int m_y1
Definition agg_rasterizer_sl_clip.h:332

Member Function Documentation

◆ clip_box()

void agg::rasterizer_sl_no_clip::clip_box ( coord_type  ,
coord_type  ,
coord_type  ,
coord_type   
)
inline
320{}

◆ line_to()

template<class Rasterizer >
void agg::rasterizer_sl_no_clip::line_to ( Rasterizer &  ras,
coord_type  x2,
coord_type  y2 
)
inline
325 {
326 ras.line(m_x1, m_y1, x2, y2);
327 m_x1 = x2;
328 m_y1 = y2;
329 }

References m_x1, and m_y1.

◆ move_to()

void agg::rasterizer_sl_no_clip::move_to ( coord_type  x1,
coord_type  y1 
)
inline
321{ m_x1 = x1; m_y1 = y1; }

References m_x1, and m_y1.

◆ reset_clipping()

void agg::rasterizer_sl_no_clip::reset_clipping ( )
inline
319{}

Member Data Documentation

◆ m_x1

int agg::rasterizer_sl_no_clip::m_x1
private

Referenced by line_to(), and move_to().

◆ m_y1

int agg::rasterizer_sl_no_clip::m_y1
private

Referenced by line_to(), and move_to().


The documentation for this class was generated from the following file: