/[gzz]/gzz/gfx/demo/xupdf.py
ViewVC logotype

Diff of /gzz/gfx/demo/xupdf.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by tjl, Thu Sep 19 03:08:24 2002 UTC revision 1.16 by tjl, Thu Sep 19 03:11:15 2002 UTC
# Line 163  def pdfpaper(pdfrect): Line 163  def pdfpaper(pdfrect):
163                                    0, 0,  1, 0,                                    0, 0,  1, 0,
164                                    0, 0,  0, 1])                                    0, 0,  0, 1])
165          return pap          return pap
166      papw = mpap("BlendFunc ONE ZERO")      papw = mpap("BlendFunc SRC_COLOR ZERO")
167      papo = mpap(nvcode.combinercode("""      papo = mpap(nvcode.combinercode("""
168          Enable REGISTER_COMBINERS_NV          Enable REGISTER_COMBINERS_NV
169          CombinerParameterNV NUM_GENERAL_COMBINERS_NV 1          CombinerParameterNV NUM_GENERAL_COMBINERS_NV 1
# Line 172  def pdfpaper(pdfrect): Line 172  def pdfpaper(pdfrect):
172          FCI C ZERO UNSIGNED_IDENTITY_NV RGB          FCI C ZERO UNSIGNED_IDENTITY_NV RGB
173          FCI D ZERO UNSIGNED_IDENTITY_NV RGB          FCI D ZERO UNSIGNED_IDENTITY_NV RGB
174          FCI G ZERO UNSIGNED_IDENTITY_NV ALPHA          FCI G ZERO UNSIGNED_IDENTITY_NV ALPHA
175          BlendFunc ONE ONE          BlendFunc ONE ONE_MINUS_SRC_COLOR
176          BlendEquation FUNC_REVERSE_SUBTRACT          BlendEquation FUNC_REVERSE_SUBTRACT
177      """))      """))
178      return (papw, pw, ph, papo)      return (papw, pw, ph, papo)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26