Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
agg::cell_aa Struct Reference

#include <src/agg/agg_rasterizer_scanline_aa_nogamma.h>

Public Member Functions

void initial ()
 
void style (const cell_aa &)
 
int not_equal (int ex, int ey, const cell_aa &) const
 

Public Attributes

int x
 
int y
 
int cover
 
int area
 

Detailed Description

Member Function Documentation

◆ initial()

void agg::cell_aa::initial ( )
inline
53 {
54 x = std::numeric_limits<int>::max();
55 y = std::numeric_limits<int>::max();
56 cover = 0;
57 area = 0;
58 }
int y
Definition agg_rasterizer_scanline_aa_nogamma.h:48
int x
Definition agg_rasterizer_scanline_aa_nogamma.h:47
int cover
Definition agg_rasterizer_scanline_aa_nogamma.h:49
int area
Definition agg_rasterizer_scanline_aa_nogamma.h:50

References area, cover, x, and y.

◆ not_equal()

int agg::cell_aa::not_equal ( int  ex,
int  ey,
const cell_aa  
) const
inline
63 {
64 return ((unsigned)ex - (unsigned)x) | ((unsigned)ey - (unsigned)y);
65 }

References x, and y.

◆ style()

void agg::cell_aa::style ( const cell_aa )
inline
60{}

Member Data Documentation

◆ area

◆ cover

◆ x

◆ y

int agg::cell_aa::y

Referenced by initial(), and not_equal().


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