metafileprimitive2d.cxx (8718d260) metafileprimitive2d.cxx (0702bc67)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 950 unchanged lines hidden (view full) ---

959 }
960 }
961
962 return drawinglayer::attribute::FillHatchAttribute(
963 aHatchStyle,
964 (double)rHatch.GetDistance(),
965 (double)rHatch.GetAngle() * F_PI1800,
966 rHatch.GetColor().getBColor(),
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 950 unchanged lines hidden (view full) ---

959 }
960 }
961
962 return drawinglayer::attribute::FillHatchAttribute(
963 aHatchStyle,
964 (double)rHatch.GetDistance(),
965 (double)rHatch.GetAngle() * F_PI1800,
966 rHatch.GetColor().getBColor(),
967 3, // same default as VCL, a minimum of three discrete units (pixels) offset
967 false);
968 }
969
970 /** helper to take needed action on ClipRegion change. This method needs to be called
971 on any Region change, e.g. at the obvious actions doing this, but also at pop-calls
972 whcih change the Region of the current context. It takes care of creating the
973 current embeddec context, set the new Region at the context and eventually prepare
974 a new target for embracing new geometry to the current region

--- 2307 unchanged lines hidden ---
968 false);
969 }
970
971 /** helper to take needed action on ClipRegion change. This method needs to be called
972 on any Region change, e.g. at the obvious actions doing this, but also at pop-calls
973 whcih change the Region of the current context. It takes care of creating the
974 current embeddec context, set the new Region at the context and eventually prepare
975 a new target for embracing new geometry to the current region

--- 2307 unchanged lines hidden ---