Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Scissor Class Reference

The Scissor class inherits from the base class State, defining a scissor test that discards fragments that fall outside of a certain rectangular portion of the screen. More...

#include <state.h>

Inheritance diagram for cil::Scissor:
cil::State cil::Object

Public Member Functions

 Scissor (bool enabled=false, int x=0, int y=0, int width=0, int height=0)
 
- Public Member Functions inherited from cil::State
 State ()
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

bool enabled
 
int x
 
int y
 
int width
 
int height
 

Additional Inherited Members

- Protected Attributes inherited from cil::State
std::string m_className
 

Detailed Description

The Scissor class inherits from the base class State, defining a scissor test that discards fragments that fall outside of a certain rectangular portion of the screen.

Constructor & Destructor Documentation

◆ Scissor()

cil::Scissor::Scissor ( bool enabled = false,
int x = 0,
int y = 0,
int width = 0,
int height = 0 )

Member Data Documentation

◆ enabled

bool cil::Scissor::enabled

◆ height

int cil::Scissor::height

◆ width

int cil::Scissor::width

◆ x

int cil::Scissor::x

◆ y

int cil::Scissor::y