aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Geometry.h
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours.Neil1-1/+5
2023-12-01Remove gcc Wconversion warnings from header.Neil1-2/+3
2023-10-10Use global constants for opaque black and white and local constants for greys.Neil1-0/+3
2023-10-10Use maximumByte constant and share byte to float conversion calculation.Neil1-14/+18
2023-04-13Use & instead of cast to avoid warning in header.Neil1-3/+4
2023-01-16Use intervals for drawing.Neil1-0/+11
2023-01-09Use unsigned literal and temporary to stop conversion warnings for each inclu...Neil1-4/+6
2022-09-02Add PixelAlignCeil and call PixelAlign* to avoid repeated code.Markus Nißl1-0/+1
2021-09-15Move colour mixing implementations into implementation file.Neil1-18/+2
2021-08-24Remove line end white space.Neil1-4/+4
2021-06-09Reduce casts by defining methods for common conversions.Neil1-0/+4
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-7/+1
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil1-25/+25
2021-05-14Add method to mix colours in a proportion.Neil1-0/+11
2021-05-12Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element andNeil1-0/+4
2021-05-11Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value includingNeil1-0/+4
2021-05-04Mark WidthF const noexcept and remove 'f' suffixes as XYPOSITION is now double.Neil1-4/+4
2021-05-03Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New OpaqueNeil1-1/+5
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-44/+26
2021-03-26Bug [#2224]. Switch XYPOSITION to double so it has more precision to fixNeil1-3/+6
2021-03-26Avoid warning for overflow.Neil1-1/+1
2021-03-25Add conversion from ColourDesired to Fill as that avoids explicit constructors.Neil1-0/+3
2021-03-25Shorten names as containers provide context.Neil1-7/+7
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil1-7/+94
2021-03-19Switch enum to enum class.Neil1-0/+6
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+209