office-gobmx/vcl/inc/opengl
Luboš Luňák 37f472c8d0 fix line width in DrawPolyLine() with matrix (tdf#132498)
For backends that do the object-to-device coordinates transformation
directly, it's necessary to also convert the size of line width.
But simply multiplying it with the matrix can also rotate the line
width "vector", making it e.g. negative. So don't use just the X
coordinate, use vector length for the transformation, which is ok.
In fact it doesn't even make sense to treat width as a vector, because
a width simply is not a vector (and for this reason it's also not
actually used).

Change-Id: I1241c9cb29155df105170d568a879ebc32b11a5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93203
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2020-05-05 20:36:12 +02:00
..
win make OpenGL blacklist file code generic and use it for Skia/Vulkan 2020-02-13 15:44:39 +01:00
x11
BufferObject.hxx
DeviceInfo.hxx
FixedTextureAtlas.hxx Revert "loplugin:constfields in vcl" 2020-03-16 09:38:24 +01:00
framebuffer.hxx
gdiimpl.hxx fix line width in DrawPolyLine() with matrix (tdf#132498) 2020-05-05 20:36:12 +02:00
LineRenderUtils.hxx Revert "loplugin:constfields in vcl" 2020-03-16 09:38:24 +01:00
PackedTextureAtlas.hxx Revert "loplugin:constfields in vcl" 2020-03-16 09:38:24 +01:00
program.hxx
RenderList.hxx fix line width in DrawPolyLine() with matrix (tdf#132498) 2020-05-05 20:36:12 +02:00
RenderState.hxx
salbmp.hxx no gray conversion needed for VCL alpha hacks 2020-04-07 11:53:54 +02:00
texture.hxx Revert "loplugin:constfields in vcl" 2020-03-16 09:38:24 +01:00
TextureState.hxx
VertexUtils.hxx
zone.hxx Revert "loplugin:constfields in vcl" 2020-03-16 09:38:24 +01:00