Home
last modified time | relevance | path

Searched refs:map_offset (Results 1 – 21 of 21) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_4bpp_glyph_1bit_draw.c91 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH … in _gx_display_driver_4bpp_glyph_1bit_draw() argument
127 num_bytes = ((UINT)map_offset -> gx_point_x + pixel_per_row + 7) >> 3; in _gx_display_driver_4bpp_glyph_1bit_draw()
129 num_bytes -= (UINT)(map_offset -> gx_point_x) >> 3; in _gx_display_driver_4bpp_glyph_1bit_draw()
132 pixel_in_first_byte = (UINT)(8 - ((map_offset -> gx_point_x) & 0x7)); in _gx_display_driver_4bpp_glyph_1bit_draw()
137 pixel_in_last_byte = (map_offset -> gx_point_x + (INT)pixel_per_row) & 0x7; in _gx_display_driver_4bpp_glyph_1bit_draw()
145 if ((map_offset -> gx_point_x + (INT)pixel_per_row) < 8) in _gx_display_driver_4bpp_glyph_1bit_draw()
158 if (map_offset -> gx_point_y) in _gx_display_driver_4bpp_glyph_1bit_draw()
160 glyph_row = glyph_row + ((INT)glyph_width * map_offset -> gx_point_y); in _gx_display_driver_4bpp_glyph_1bit_draw()
163 glyph_row += (map_offset -> gx_point_x >> 3); in _gx_display_driver_4bpp_glyph_1bit_draw()
Dgx_display_driver_32bpp_glyph_1bit_draw.c97 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_32bpp_glyph_1bit_draw() argument
141 num_bytes = (UINT)(((UINT)(map_offset -> gx_point_x) + pixel_per_row + 7) >> 3); in _gx_display_driver_32bpp_glyph_1bit_draw()
143 num_bytes = num_bytes - (((UINT)(map_offset -> gx_point_x)) >> 3); in _gx_display_driver_32bpp_glyph_1bit_draw()
146 pixel_in_first_byte = 8 - (UINT)((map_offset -> gx_point_x) & 0x7); in _gx_display_driver_32bpp_glyph_1bit_draw()
151 pixel_in_last_byte = (((UINT)(map_offset -> gx_point_x) + pixel_per_row) & 0x7); in _gx_display_driver_32bpp_glyph_1bit_draw()
159 if (((UINT)(map_offset -> gx_point_x) + pixel_per_row) < 8) in _gx_display_driver_32bpp_glyph_1bit_draw()
171 if (map_offset -> gx_point_y) in _gx_display_driver_32bpp_glyph_1bit_draw()
173 glyph_row = glyph_row + ((INT)glyph_width * (INT)(map_offset -> gx_point_y)); in _gx_display_driver_32bpp_glyph_1bit_draw()
176 glyph_row += (map_offset -> gx_point_x >> 3); in _gx_display_driver_32bpp_glyph_1bit_draw()
Dgx_display_driver_8bpp_glyph_1bit_draw.c98 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_glyph_1bit_draw() argument
151 num_bytes = ((UINT)map_offset -> gx_point_x + pixel_per_row + 7) >> 3; in _gx_display_driver_8bpp_glyph_1bit_draw()
153 num_bytes -= (UINT)(map_offset -> gx_point_x) >> 3; in _gx_display_driver_8bpp_glyph_1bit_draw()
156 pixel_in_first_byte = (UINT)(8 - ((map_offset -> gx_point_x) & 0x7)); in _gx_display_driver_8bpp_glyph_1bit_draw()
161 pixel_in_last_byte = (map_offset -> gx_point_x + (INT)pixel_per_row) & 0x7; in _gx_display_driver_8bpp_glyph_1bit_draw()
169 if ((map_offset -> gx_point_x + (INT)pixel_per_row) < 8) in _gx_display_driver_8bpp_glyph_1bit_draw()
182 if (map_offset -> gx_point_y) in _gx_display_driver_8bpp_glyph_1bit_draw()
184 glyph_row = glyph_row + ((INT)glyph_width * map_offset -> gx_point_y); in _gx_display_driver_8bpp_glyph_1bit_draw()
187 glyph_row += (map_offset -> gx_point_x >> 3); in _gx_display_driver_8bpp_glyph_1bit_draw()
Dgx_display_driver_565rgb_glyph_1bit_draw.c97 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_16bpp_glyph_1bit_draw() argument
150 num_bytes = (UINT)(((INT)map_offset -> gx_point_x + (INT)pixel_per_row + 7) >> 3); in _gx_display_driver_16bpp_glyph_1bit_draw()
152 num_bytes -= ((UINT)(map_offset -> gx_point_x)) >> 3; in _gx_display_driver_16bpp_glyph_1bit_draw()
155 pixel_in_first_byte = (UINT)(8 - ((map_offset -> gx_point_x) & 0x7)); in _gx_display_driver_16bpp_glyph_1bit_draw()
160 pixel_in_last_byte = ((UINT)map_offset -> gx_point_x + pixel_per_row) & 0x7; in _gx_display_driver_16bpp_glyph_1bit_draw()
168 if ((map_offset -> gx_point_x + (INT)pixel_per_row) < 8) in _gx_display_driver_16bpp_glyph_1bit_draw()
181 if (map_offset -> gx_point_y) in _gx_display_driver_16bpp_glyph_1bit_draw()
183 glyph_row = (GX_UBYTE *)(glyph_row + ((INT)glyph_width * (INT)(map_offset -> gx_point_y))); in _gx_display_driver_16bpp_glyph_1bit_draw()
186 glyph_row += (map_offset -> gx_point_x >> 3); in _gx_display_driver_16bpp_glyph_1bit_draw()
Dgx_display_driver_4bpp_glyph_4bit_draw.c78 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH … in _gx_display_driver_4bpp_glyph_4bit_draw() argument
108 if (map_offset -> gx_point_y) in _gx_display_driver_4bpp_glyph_4bit_draw()
110 glyph_getrow = glyph_getrow + ((INT)getstride * map_offset -> gx_point_y); in _gx_display_driver_4bpp_glyph_4bit_draw()
113 glyph_getrow += (map_offset -> gx_point_x >> 1); in _gx_display_driver_4bpp_glyph_4bit_draw()
120 if (map_offset -> gx_point_x & 1) in _gx_display_driver_4bpp_glyph_4bit_draw()
Dgx_display_driver_8bpp_glyph_3bit_draw.c78 …3bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_glyph_3bit_draw() argument
104 if (map_offset -> gx_point_y) in _gx_display_driver_8bpp_glyph_3bit_draw()
106 glyph_row = glyph_row + ((INT)pitch * map_offset -> gx_point_y); in _gx_display_driver_8bpp_glyph_3bit_draw()
109 glyph_row += (map_offset -> gx_point_x >> 1); in _gx_display_driver_8bpp_glyph_3bit_draw()
113 leading_pixel = (map_offset -> gx_point_x & 1); in _gx_display_driver_8bpp_glyph_3bit_draw()
Dgx_display_driver_8bpp_glyph_4bit_draw.c78 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_glyph_4bit_draw() argument
104 if (map_offset -> gx_point_y) in _gx_display_driver_8bpp_glyph_4bit_draw()
106 glyph_row = glyph_row + ((INT)pitch * map_offset -> gx_point_y); in _gx_display_driver_8bpp_glyph_4bit_draw()
109 glyph_row += (map_offset -> gx_point_x >> 1); in _gx_display_driver_8bpp_glyph_4bit_draw()
113 leading_pixel = (map_offset -> gx_point_x & 1); in _gx_display_driver_8bpp_glyph_4bit_draw()
Dgx_canvas_glyphs_draw.c89 GX_POINT map_offset; in _gx_canvas_kerning_glyphs_draw() local
179 map_offset.gx_point_x = 0; in _gx_canvas_kerning_glyphs_draw()
180 map_offset.gx_point_y = 0; in _gx_canvas_kerning_glyphs_draw()
185map_offset.gx_point_y = (GX_VALUE)(view -> gx_rectangle_top - draw_area.gx_rectangle_top); in _gx_canvas_kerning_glyphs_draw()
191 map_offset.gx_point_x = (GX_VALUE)(view -> gx_rectangle_left - x_offset); in _gx_canvas_kerning_glyphs_draw()
204 draw_glyph(context, &draw_area, &map_offset, (const GX_GLYPH *)glyph); in _gx_canvas_kerning_glyphs_draw()
274 GX_POINT map_offset; in _gx_canvas_compressed_glyphs_draw() local
366 map_offset.gx_point_x = 0; in _gx_canvas_compressed_glyphs_draw()
367 map_offset.gx_point_y = 0; in _gx_canvas_compressed_glyphs_draw()
372map_offset.gx_point_y = (GX_VALUE)(view -> gx_rectangle_top - draw_area.gx_rectangle_top); in _gx_canvas_compressed_glyphs_draw()
[all …]
Dgx_display_driver_1bpp_glyph_1bpp_draw.c81 …1bpp_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_1bpp_glyph_1bpp_draw() argument
106 getrow += (map_offset -> gx_point_y * getstride); in _gx_display_driver_1bpp_glyph_1bpp_draw()
107 getrow += (map_offset -> gx_point_x >> 3); in _gx_display_driver_1bpp_glyph_1bpp_draw()
117 getmask = (GX_UBYTE)(0x80 >> (map_offset -> gx_point_x & 0x07)); in _gx_display_driver_1bpp_glyph_1bpp_draw()
Dgx_display_driver_8bpp_rotated_glyph_3bit_draw.c76 …3bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_rotated_glyph_3bit_draw() argument
106 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_8bpp_rotated_glyph_3bit_draw()
107 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_8bpp_rotated_glyph_3bit_draw()
114 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_8bpp_rotated_glyph_3bit_draw()
115 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_8bpp_rotated_glyph_3bit_draw()
Dgx_display_driver_8bpp_rotated_glyph_4bit_draw.c76 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_rotated_glyph_4bit_draw() argument
106 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_8bpp_rotated_glyph_4bit_draw()
107 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_8bpp_rotated_glyph_4bit_draw()
114 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_8bpp_rotated_glyph_4bit_draw()
115 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_8bpp_rotated_glyph_4bit_draw()
Dgx_display_driver_generic_rotated_glyph_8bit_draw.c77 …8bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_generic_rotated_glyph_8bit_draw() argument
114 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_generic_rotated_glyph_8bit_draw()
115 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_generic_rotated_glyph_8bit_draw()
122 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_generic_rotated_glyph_8bit_draw()
123 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_generic_rotated_glyph_8bit_draw()
Dgx_display_driver_generic_glyph_8bpp_draw.c79 …8bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_generic_glyph_8bit_draw() argument
113 if (map_offset -> gx_point_y) in _gx_display_driver_generic_glyph_8bit_draw()
115 glyph_row = glyph_row + (glyph -> gx_glyph_width * map_offset -> gx_point_y); in _gx_display_driver_generic_glyph_8bit_draw()
118 glyph_row += map_offset -> gx_point_x; in _gx_display_driver_generic_glyph_8bit_draw()
Dgx_display_driver_8bpp_rotated_glyph_1bit_draw.c93 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_8bpp_rotated_glyph_1bit_draw() argument
131 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_8bpp_rotated_glyph_1bit_draw()
132 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_8bpp_rotated_glyph_1bit_draw()
139 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_8bpp_rotated_glyph_1bit_draw()
140 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_8bpp_rotated_glyph_1bit_draw()
Dgx_display_driver_565rgb_rotated_glyph_1bit_draw.c92 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_565rgb_rotated_glyph_1bit_draw() argument
145 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_565rgb_rotated_glyph_1bit_draw()
146 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_565rgb_rotated_glyph_1bit_draw()
153 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_565rgb_rotated_glyph_1bit_draw()
154 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_565rgb_rotated_glyph_1bit_draw()
Dgx_display_driver_generic_glyph_4bpp_draw.c77 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_generic_glyph_4bit_draw() argument
122 if (map_offset -> gx_point_y) in _gx_display_driver_generic_glyph_4bit_draw()
124 glyph_row = glyph_row + ((INT)pitch * map_offset -> gx_point_y); in _gx_display_driver_generic_glyph_4bit_draw()
127 glyph_row += (map_offset -> gx_point_x >> 1); in _gx_display_driver_generic_glyph_4bit_draw()
133 leading_pixel = (map_offset -> gx_point_x & 1); in _gx_display_driver_generic_glyph_4bit_draw()
Dgx_display_driver_32bpp_rotated_glyph_1bit_draw.c94 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_32bpp_rotated_glyph_1bit_draw() argument
146 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_32bpp_rotated_glyph_1bit_draw()
147 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_32bpp_rotated_glyph_1bit_draw()
154 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_32bpp_rotated_glyph_1bit_draw()
155 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_32bpp_rotated_glyph_1bit_draw()
Dgx_display_driver_generic_rotated_glyph_4bit_draw.c75 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY… in _gx_display_driver_generic_rotated_glyph_4bit_draw() argument
121 rotated_map_offset_x = map_offset -> gx_point_y; in _gx_display_driver_generic_rotated_glyph_4bit_draw()
122 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_generic_rotated_glyph_4bit_draw()
129 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_generic_rotated_glyph_4bit_draw()
130 rotated_map_offset_y = map_offset -> gx_point_x; in _gx_display_driver_generic_rotated_glyph_4bit_draw()
Dgx_canvas_text_draw.c169 GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph); in _gx_canvas_text_draw_ext()
/GUIX-v6.2.1/common/inc/
Dgx_display.h163 …8bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
164 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
165 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
166 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
184 …1bpp_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
195 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH …
196 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH …
225 …1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
226 …3bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
227 …4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, GX_CONST GX_GLY…
[all …]
Dgx_api.h1704 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);
1708 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);
1712 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);
1716 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);
1720 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);
1724 … GX_POINT *map_offset, GX_CONST GX_GLYPH *glyph);