KiCad PCB EDA Suite
SmaaAreaTex.h File Reference

Go to the source code of this file.

Macros

#define AREATEX_WIDTH   160
 Copyright (C) 2013 Jorge Jimenez (jorge.nosp@m.@iry.nosp@m.oku.c.nosp@m.om) Copyright (C) 2013 Jose I. More...
 
#define AREATEX_HEIGHT   560
 
#define AREATEX_PITCH   (AREATEX_WIDTH * 2)
 
#define AREATEX_SIZE   (AREATEX_HEIGHT * AREATEX_PITCH)
 

Variables

const unsigned char areaTexBytes []
 Stored in R8G8 format. More...
 

Macro Definition Documentation

#define AREATEX_HEIGHT   560

Definition at line 34 of file SmaaAreaTex.h.

Referenced by KIGFX::ANTIALIASING_SMAA::loadShaders().

#define AREATEX_PITCH   (AREATEX_WIDTH * 2)

Definition at line 35 of file SmaaAreaTex.h.

#define AREATEX_SIZE   (AREATEX_HEIGHT * AREATEX_PITCH)

Definition at line 36 of file SmaaAreaTex.h.

#define AREATEX_WIDTH   160

Copyright (C) 2013 Jorge Jimenez (jorge.nosp@m.@iry.nosp@m.oku.c.nosp@m.om) Copyright (C) 2013 Jose I.

Echevarria (josei.nosp@m.gnac.nosp@m.ioech.nosp@m.evar.nosp@m.ria@g.nosp@m.mail.nosp@m..com) Copyright (C) 2013 Belen Masia (bmasi.nosp@m.a@un.nosp@m.izar..nosp@m.es) Copyright (C) 2013 Fernando Navarro (ferna.nosp@m.ndn@.nosp@m.micro.nosp@m.soft.nosp@m..com) Copyright (C) 2013 Diego Gutierrez (diego.nosp@m.g@un.nosp@m.izar..nosp@m.es)

Permission is hereby granted, free of charge, to any person obtaining a copy this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. As clarification, there is no requirement that the copyright notice and permission be included in binary distributions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 33 of file SmaaAreaTex.h.

Referenced by KIGFX::ANTIALIASING_SMAA::loadShaders().

Variable Documentation

const unsigned char areaTexBytes[]

Stored in R8G8 format.

Load it in the following format:

  • DX9: D3DFMT_A8L8
  • DX10: DXGI_FORMAT_R8G8_UNORM

Definition at line 43 of file SmaaAreaTex.h.

Referenced by KIGFX::ANTIALIASING_SMAA::loadShaders().