diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-02-08 09:53:29 +0000 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-02-08 09:53:29 +0000 |
commit | cae2376dd09721548b7fd8de11d847f792121d91 (patch) | |
tree | 9540bf38814e61271c1027e74caec2e42904d142 /src/win32 | |
parent | a23af71c9d0d9cae1a3f7f117415195b3f76e4a5 (diff) | |
parent | bd608ab72c3d0fac64af98cf15d4937d24c90ec7 (diff) | |
download | cairo-cae2376dd09721548b7fd8de11d847f792121d91.tar.gz |
Merge branch 'doc-fixes' into 'master'
More random doc fixes
See merge request cairo/cairo!437
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/cairo-dwrite-font.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/win32/cairo-dwrite-font.cpp b/src/win32/cairo-dwrite-font.cpp index 8346e4856..994889e21 100644 --- a/src/win32/cairo-dwrite-font.cpp +++ b/src/win32/cairo-dwrite-font.cpp @@ -923,7 +923,7 @@ _cairo_dwrite_scaled_font_init_glyph_color_surface(cairo_dwrite_scaled_font_t *s RefPtr<IDWriteColorGlyphRunEnumerator1> run_enumerator; HRESULT hr; - /** + /* * We transform by the inverse transformation here. This will put our glyph * locations in the space in which we draw. Which is later transformed by * the transformation matrix that we use. This will transform the @@ -932,7 +932,7 @@ _cairo_dwrite_scaled_font_init_glyph_color_surface(cairo_dwrite_scaled_font_t *s */ cairo_matrix_transform_point(&scaled_font->mat_inverse, &x, &y); offset.advanceOffset = (FLOAT)x; - /** Y-axis is inverted */ + /* Y-axis is inverted */ offset.ascenderOffset = -(FLOAT)y; run.fontFace = dwrite_font_face->dwriteface; @@ -1205,7 +1205,7 @@ _cairo_dwrite_scaled_font_init_glyph_surface(cairo_dwrite_scaled_font_t *scaled_ if (status) goto FAIL; - /** + /* * We transform by the inverse transformation here. This will put our glyph * locations in the space in which we draw. Which is later transformed by * the transformation matrix that we use. This will transform the @@ -1214,7 +1214,7 @@ _cairo_dwrite_scaled_font_init_glyph_surface(cairo_dwrite_scaled_font_t *scaled_ */ cairo_matrix_transform_point(&scaled_font->mat_inverse, &x, &y); offset.advanceOffset = (FLOAT)x; - /** Y-axis is inverted */ + /* Y-axis is inverted */ offset.ascenderOffset = -(FLOAT)y; area.top = 0; @@ -1573,7 +1573,7 @@ _dwrite_draw_glyphs_to_gdi_surface_gdi(cairo_win32_surface_t *surface, else params = DWriteFactory::DefaultRenderingParams(); - /** + /* * We set the number of pixels per DIP to 1.0. This is because we always want * to draw in device pixels, and not device independent pixels. On high DPI * systems this value will be higher than 1.0 and automatically upscale @@ -1716,7 +1716,7 @@ _cairo_dwrite_show_glyphs_on_surface(void *surface, largestY = (INT32)glyphs[i].y; } } - /** + /* * Here we try to get a rough estimate of the area that this glyph run will * cover on the surface. Since we use GDI interop to draw we will be copying * data around the size of the area of the surface that we map. We will want @@ -1776,7 +1776,7 @@ _cairo_dwrite_show_glyphs_on_surface(void *surface, double x = glyphs[i].x - fontArea.left + EPSILON; double y = glyphs[i].y - fontArea.top; cairo_matrix_transform_point(&dwritesf->mat_inverse, &x, &y); - /** + /* * Since we will multiply by our ctm matrix later for rotation effects * and such, adjust positions by the inverse matrix now. The Y-axis * is inverted so the offset becomes negative. |