
    3j2                        S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R%                  S	\
R&                  S
SS9r\R                  " \5      R%                  S	\
R&                  S
SS9rg)a  OpenGL extension HP.image_transform

This module customises the behaviour of the 
OpenGL.raw.GL.HP.image_transform to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension provides support for scaling, rotation, and translation
        of two-dimensional pixel rectangles at a fixed location in the pixel
        transfer process.  The 2D image transformation attributes are specified
        as individual values so that that implementations may easily detect
        scaling and rotation values that lend themselves to optimization.  2D
        image transformation occurs immediately after the post-convolution color
        table stage of the pixel pipeline.  This extension also defines a color
        table that is applied immediately after the image transformation operation.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/HP/image_transform.txt
    )platformconstantarrays)
extensionswrapperN)_types_glgets)*)_EXTENSION_NAMEc                  :    SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   r   )OpenGLr   hasGLExtensionr   r   s    V/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/HP/image_transform.pyglInitImageTransformHPr      s    !$$o77    paramspnameT)sizepnameArgorPassIn)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	    OpenGL.raw.GL.HP.image_transformr   r   glImageTransformParameterivHPsetInputArraySizeglImageTransformParameterfvHP glGetImageTransformParameterivHP	setOutput_glget_size_mapping glGetImageTransformParameterfvHP r   r   <module>r$      s   ( . - &  ) . <8 &oo.KL^^d  &oo.KL^^d  ")1Q!R!\!\'--w "] "   ")1Q!R!\!\'--w "] "  r   