<?xml version="1.0"?>
<root>
<test type="1" category="2" description="Get default context values." source="../tests/context_getdefaults.inc">
<value type="3" description="vgGeti(VG_MATRIX_MODE)">5120</value>
<value type="3" description="vgGeti(VG_FILL_RULE)">6400</value>
<value type="3" description="vgGeti(VG_IMAGE_QUALITY)">2</value>
<value type="3" description="vgGeti(VG_RENDERING_QUALITY)">4610</value>
<value type="3" description="vgGeti(VG_BLEND_MODE)">8193</value>
<value type="3" description="vgGeti(VG_IMAGE_MODE)">7936</value>
<value type="3" description="vgGetVectorSize(VG_SCISSOR_RECTS)">0</value>
<value type="4" description="vgGetf(VG_STROKE_LINE_WIDTH)">1.000000</value>
<value type="3" description="vgGeti(VG_STROKE_CAP_STYLE)">5888</value>
<value type="3" description="vgGeti(VG_STROKE_JOIN_STYLE)">6144</value>
<value type="4" description="vgGetf(VG_STROKE_MITER_LIMIT)">4.000000</value>
<value type="3" description="vgGetVectorSize(VG_STROKE_DASH_PATTERN)">0</value>
<value type="4" description="vgGetf(VG_STROKE_DASH_PHASE)">0.000000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.000000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.000000</value>
<value type="3" description="vgGeti(VG_MASKING)">0</value>
<value type="3" description="vgGeti(VG_SCISSORING)">0</value>
<value type="3" description="vgGeti(VG_PIXEL_LAYOUT)">4864</value>
<value type="3" description="vgGeti(VG_FILTER_FORMAT_LINEAR)">0</value>
<value type="3" description="vgGeti(VG_FILTER_FORMAT_PREMULTIPLIED)">0</value>
<value type="3" description="vgGeti(VG_FILTER_CHANNEL_MASK)">15</value>
</test>
<test type="1" category="2" description="Set context values, different from defaults.
NB: OpenVG 1.0.1 Reference implementation does not apply floor operation when float values are retrieved." source="../tests/context_setvalues.inc">
<value type="3" description="vgGeti(VG_MATRIX_MODE)">5122</value>
<value type="4" description="vgGetf(VG_MATRIX_MODE)">5122.000000</value>
<value type="3" description="vgGeti(VG_FILL_RULE)">6401</value>
<value type="4" description="vgGetf(VG_FILL_RULE)">6401.000000</value>
<value type="3" description="vgGeti(VG_IMAGE_QUALITY)">4</value>
<value type="4" description="vgGetf(VG_IMAGE_QUALITY)">4.000000</value>
<value type="3" description="vgGeti(VG_RENDERING_QUALITY)">4609</value>
<value type="4" description="vgGetf(VG_RENDERING_QUALITY)">4609.000000</value>
<value type="3" description="vgGeti(VG_BLEND_MODE)">8197</value>
<value type="4" description="vgGetf(VG_BLEND_MODE)">8197.000000</value>
<value type="3" description="vgGeti(VG_IMAGE_MODE)">7937</value>
<value type="4" description="vgGetf(VG_IMAGE_MODE)">7937.000000</value>
<value type="3" description="vgGetVectorSize(VG_SCISSOR_RECTS)">12</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">10</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">-21</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">100</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">115</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">-131</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">11</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">-101</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">200</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">15</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">-31</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">400</value>
<value type="3" description="vgGetiv(VG_SCISSOR_RECTS)">512</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">10.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">-21.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">100.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">115.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">-131.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">11.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">-101.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">200.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">15.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">-31.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">400.000000</value>
<value type="4" description="vgGetfv(VG_SCISSOR_RECTS)">512.000000</value>
<value type="4" description="vgGetf(VG_STROKE_LINE_WIDTH)">10.300000</value>
<value type="3" description="vgGeti(VG_STROKE_LINE_WIDTH)">10</value>
<value type="3" description="vgGeti(VG_STROKE_CAP_STYLE)">5889</value>
<value type="4" description="vgGetf(VG_STROKE_CAP_STYLE)">5889.000000</value>
<value type="3" description="vgGeti(VG_STROKE_JOIN_STYLE)">6145</value>
<value type="4" description="vgGetf(VG_STROKE_JOIN_STYLE)">6145.000000</value>
<value type="4" description="vgGetf(VG_STROKE_MITER_LIMIT)">5.800000</value>
<value type="3" description="vgGeti(VG_STROKE_MITER_LIMIT)">5</value>
<value type="3" description="vgGetVectorSize(VG_STROKE_DASH_PATTERN)">5</value>
<value type="4" description="vgGetfv(VG_STROKE_DASH_PATTERN)">1.570000</value>
<value type="4" description="vgGetfv(VG_STROKE_DASH_PATTERN)">-10.100000</value>
<value type="4" description="vgGetfv(VG_STROKE_DASH_PATTERN)">10.350000</value>
<value type="4" description="vgGetfv(VG_STROKE_DASH_PATTERN)">5.820000</value>
<value type="4" description="vgGetfv(VG_STROKE_DASH_PATTERN)">-30.820000</value>
<value type="3" description="vgGetiv(VG_STROKE_DASH_PATTERN)">1</value>
<value type="3" description="vgGetiv(VG_STROKE_DASH_PATTERN)">-11</value>
<value type="3" description="vgGetiv(VG_STROKE_DASH_PATTERN)">10</value>
<value type="3" description="vgGetiv(VG_STROKE_DASH_PATTERN)">5</value>
<value type="3" description="vgGetiv(VG_STROKE_DASH_PATTERN)">-31</value>
<value type="4" description="vgGetf(VG_STROKE_DASH_PHASE)">-1.400000</value>
<value type="3" description="vgGeti(VG_STROKE_DASH_PHASE)">-2</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.210000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">-0.100000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">1.100000</value>
<value type="4" description="vgGetfv(VG_TILE_FILL_COLOR)">0.820000</value>
<value type="3" description="vgGetiv(VG_TILE_FILL_COLOR)">0</value>
<value type="3" description="vgGetiv(VG_TILE_FILL_COLOR)">-1</value>
<value type="3" description="vgGetiv(VG_TILE_FILL_COLOR)">1</value>
<value type="3" description="vgGetiv(VG_TILE_FILL_COLOR)">0</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.650000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">-0.400000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">5.100000</value>
<value type="4" description="vgGetfv(VG_CLEAR_COLOR)">0.150000</value>
<value type="3" description="vgGetiv(VG_CLEAR_COLOR)">0</value>
<value type="3" description="vgGetiv(VG_CLEAR_COLOR)">-1</value>
<value type="3" description="vgGetiv(VG_CLEAR_COLOR)">5</value>
<value type="3" description="vgGetiv(VG_CLEAR_COLOR)">0</value>
<value type="3" description="vgGeti(VG_MASKING)">1</value>
<value type="4" description="vgGetf(VG_MASKING)">1.000000</value>
<value type="3" description="vgGeti(VG_SCISSORING)">1</value>
<value type="4" description="vgGetf(VG_SCISSORING)">1.000000</value>
<value type="3" description="vgGeti(VG_PIXEL_LAYOUT)">4867</value>
<value type="4" description="vgGetf(VG_PIXEL_LAYOUT)">4867.000000</value>
<value type="3" description="vgGeti(VG_FILTER_FORMAT_LINEAR)">0</value>
<value type="4" description="vgGetf(VG_FILTER_FORMAT_LINEAR)">0.000000</value>
<value type="3" description="vgGeti(VG_FILTER_FORMAT_PREMULTIPLIED)">1</value>
<value type="4" description="vgGetf(VG_FILTER_FORMAT_PREMULTIPLIED)">1.000000</value>
<value type="3" description="vgGeti(VG_FILTER_CHANNEL_MASK)">9</value>
<value type="4" description="vgGetf(VG_FILTER_CHANNEL_MASK)">9.000000</value>
</test>
<test type="1" category="2" description="Test errors in context get/set parameters functions." source="../tests/context_errors.inc">
<value type="3" description="vgGeti(VG_MAX_FLOAT + 0x1000)">4097</value>
<value type="3" description="vgGetf(VG_MAX_FLOAT + 0x1000)">4097</value>
<value type="3" description="vgGetiv(VG_MAX_FLOAT + 0x1000, 1, iVals)">4097</value>
<value type="3" description="vgGetfv(VG_MAX_FLOAT + 0x1000, 1, fVals)">4097</value>
<value type="3" description="vgSeti(VG_SCISSOR_RECTS, 1)">4097</value>
<value type="3" description="vgSetf(VG_SCISSOR_RECTS, 1)">4097</value>
<value type="3" description="vgSeti(VG_STROKE_DASH_PATTERN, 1)">4097</value>
<value type="3" description="vgSetf(VG_STROKE_DASH_PATTERN, 1)">4097</value>
<value type="3" description="vgSeti(VG_TILE_FILL_COLOR, 1)">4097</value>
<value type="3" description="vgSetf(VG_TILE_FILL_COLOR, 1)">4097</value>
<value type="3" description="vgSeti(VG_CLEAR_COLOR, 1)">4097</value>
<value type="3" description="vgSetf(VG_CLEAR_COLOR, 1)">4097</value>
<value type="3" description="vgSetiv(VG_MATRIX_MODE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_MATRIX_MODE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_FILL_RULE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_FILL_RULE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_IMAGE_QUALITY, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_IMAGE_QUALITY, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_RENDERING_QUALITY, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_RENDERING_QUALITY, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_BLEND_MODE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_BLEND_MODE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_IMAGE_MODE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_IMAGE_MODE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_STROKE_LINE_WIDTH, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_STROKE_LINE_WIDTH, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_STROKE_CAP_STYLE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_STROKE_CAP_STYLE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_STROKE_JOIN_STYLE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_STROKE_JOIN_STYLE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_STROKE_MITER_LIMIT, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_STROKE_MITER_LIMIT, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_STROKE_DASH_PHASE, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_STROKE_DASH_PHASE, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_MASKING, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_MASKING, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_SCISSORING, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_SCISSORING, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_PIXEL_LAYOUT, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_PIXEL_LAYOUT, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_FILTER_FORMAT_LINEAR, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_FILTER_FORMAT_LINEAR, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_FILTER_FORMAT_PREMULTIPLIED, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_FILTER_FORMAT_PREMULTIPLIED, 3, fVals)">4097</value>
<value type="3" description="vgSetiv(VG_FILTER_CHANNEL_MASK, 3, iVals)">4097</value>
<value type="3" description="vgSetfv(VG_FILTER_CHANNEL_MASK, 3, fVals)">4097</value>
<value type="3" description="vgSeti(VG_SCISSOR_RECTS, 1, NULL)">4097</value>
<value type="3" description="vgSetf(VG_SCISSOR_RECTS, 1, NULL)">4097</value>
<value type="3" description="vgSeti(VG_SCISSOR_RECTS, -1, iVals)">4097</value>
<value type="3" description="vgSetf(VG_SCISSOR_RECTS, -1, fVals)">4097</value>
<value type="3" description="vgSetfv(VG_SCISSOR_RECTS, 9, scissorRects)">4097</value>
<value type="3" description="vgSeti(VG_MATRIX_MODE, VG_RENDERING_QUALITY_NONANTIALIASED)">4097</value>
<value type="3" description="vgSetf(VG_MATRIX_MODE, VG_RENDERING_QUALITY_NONANTIALIASED)">4097</value>
<value type="3" description="vgSeti(VG_FILL_RULE, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSetf(VG_FILL_RULE, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSeti(VG_IMAGE_QUALITY, VG_PIXEL_LAYOUT_RGB_VERTICAL)">4097</value>
<value type="3" description="vgSetf(VG_IMAGE_QUALITY, VG_PIXEL_LAYOUT_RGB_VERTICAL)">4097</value>
<value type="3" description="vgSeti(VG_RENDERING_QUALITY, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSetf(VG_RENDERING_QUALITY, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSeti(VG_BLEND_MODE, VG_EVEN_ODD)">4097</value>
<value type="3" description="vgSetf(VG_BLEND_MODE, VG_EVEN_ODD)">4097</value>
<value type="3" description="vgSeti(VG_IMAGE_MODE, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSetf(VG_IMAGE_MODE, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSeti(VG_STROKE_CAP_STYLE, VG_JOIN_ROUND)">4097</value>
<value type="3" description="vgSetf(VG_STROKE_CAP_STYLE, VG_JOIN_ROUND)">4097</value>
<value type="3" description="vgSeti(VG_STROKE_JOIN_STYLE, VG_CAP_BUTT)">4097</value>
<value type="3" description="vgSetf(VG_STROKE_JOIN_STYLE, VG_CAP_BUTT)">4097</value>
<value type="3" description="vgSeti(VG_PIXEL_LAYOUT, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSetf(VG_PIXEL_LAYOUT, VG_MATRIX_PATH_USER_TO_SURFACE)">4097</value>
<value type="3" description="vgSeti(VG_FILTER_CHANNEL_MASK, 0xFFFFFF)">0</value>
<value type="3" description="vgSetf(VG_FILTER_CHANNEL_MASK, 24.4f)">0</value>
<value type="3" description="vgSeti(VG_FILTER_CHANNEL_MASK, -1)">0</value>
<value type="3" description="vgSeti(VG_FILTER_CHANNEL_MASK, 0)">0</value>
</test>
</root>
